Comments (2)
Long ago I ended up connecting to "event" of the save button to add the extension. That would mean any event; when using a mouse it would be hovering or clicking; when using a keyboard it at least used to be so that the save button experienced a focus-in-event thus adding the extension before saving.
The reason for the ugly way is that the extension needs to be added before the save dialog's internal file overwrite check and possible confirmation dialog and I found no clean way to connect before that, the intended "confirm-overwrite" signal didn't work as expected. Things might be better now, I'll check.
from gaupol.
The "confirm-overwrite" only gets called when the file already exists, so connecting to that didn't help. There still doesn't seem to be a clear way to do this, but stopping the response, adding the extension and emitting a new response should get the job done correctly. This is a bit ugly too, but seemed to work all right.
from gaupol.
Related Issues (20)
- Reconsider a Windows installer HOT 1
- Gst not found on Windows HOT 2
- thanks + request for TXT import HOT 3
- ValueError: Code 'cp65001' not found HOT 5
- hover cursor to resize layout HOT 2
- generate new subtitles with speech recognition HOT 2
- Unable to load any video HOT 1
- Video freezes when you moving the position slider HOT 7
- How can I delete this program? HOT 1
- Loading audio files HOT 1
- MP4 Video Does Not Open HOT 1
- [Feature request] Edit SRT from video file HOT 1
- IndexError on preview HOT 3
- Gdk.Cursor constructor returned NULL HOT 4
- Enable conversion to sentence case under Correct Texts HOT 1
- State of maintenance HOT 1
- High resolution video files (>=2160p) are extremely stuttery and slow the app HOT 4
- Multiple file at once crashes HOT 4
- Maybe a typo in ui text HOT 1
- Fields in gaupol/enums.py never be translated HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gaupol.