Check-in [440ac1977d]
Overview
| Comment: | fix .save_formats reference for file dialog |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
440ac1977db516a5b406c164f0adf8e6 |
| User & Date: | mario on 2016-12-17 10:51:48 |
| Other Links: | manifest | tags |
Context
|
2016-12-17
| ||
| 10:52 | streema: fix search using right parameter (search= instead of cat=) check-in: 35e6840757 user: mario tags: trunk | |
| 10:51 | fix .save_formats reference for file dialog check-in: 440ac1977d user: mario tags: trunk | |
|
2016-12-16
| ||
| 18:35 | Fix path delimiter (it's probably ";" on Windows, blimey if only it was documented somewhere) check-in: 723f84022a user: mario tags: trunk | |
Changes
Modified uikit.py from [bd76b93be8] to [974ce2f9f3].
| ︙ | ︙ | |||
374 375 376 377 378 379 380 |
c = gtk.FileChooserDialog(title, parent, action=action, buttons=buttons)
c.set_do_overwrite_confirmation(True)
# Params
if fn:
c.set_current_name(fn)
fn = ""
| | | 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 |
c = gtk.FileChooserDialog(title, parent, action=action, buttons=buttons)
c.set_do_overwrite_confirmation(True)
# Params
if fn:
c.set_current_name(fn)
fn = ""
for fname,ftype in (formats or uikit.save_formats):
f = gtk.FileFilter()
f.set_name(fname)
f.add_pattern(ftype)
c.add_filter(f)
# Yes, that's how to retrieve signals for changed filter selections
try:
filterbox = c.get_children()[0].get_children()[0]
|
| ︙ | ︙ |