Check-in [a35c889740]
Overview
| Comment: | Add .desktop and .url to export format file extensions probing and SaveAs dialog. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
a35c8897408886b925c892542da415ea |
| User & Date: | mario on 2015-04-24 05:01:17 |
| Other Links: | manifest | tags |
Context
|
2015-04-24
| ||
| 19:20 | Prepare bookmarks-category DND as target (for internal stream moving). Fix FILE_NAME being passed as text not uris XSelection type. Use underscores in place of spaces to avoid urlencoding file:// references. Move log.DND colorization to config. check-in: 1569b57c42 user: mario tags: trunk | |
| 05:01 | Add .desktop and .url to export format file extensions probing and SaveAs dialog. check-in: a35c889740 user: mario tags: trunk | |
| 05:00 | Split plugin configuration into channels and [features] tabs. check-in: bd411967bc user: mario tags: trunk | |
Changes
Modified channels/exportcat.py from [359b4701e7] to [911a034c54].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | - + - + - + - - - + + + + + + + + - + - + - | # encoding: UTF-8 # api: streamtuner2 |
| ︙ | |||
45 46 47 48 49 50 51 | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | - + |
def savewindow(self, *w):
cn = self.parent.channel()
source = cn.listformat
streams = cn.streams[cn.current]
fn = uikit.save_file("Export category", None, "%s.%s.%s" % (cn.module, cn.current, conf.export_format))
log.PROC("Exporting category to", fn)
if fn:
|
Modified uikit.py from [cf9953748a] to [36c3fef689].
| ︙ | |||
357 358 359 360 361 362 363 | 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 | - + |
pass
#-- Save-As dialog
#
@staticmethod
|
| ︙ | |||
393 394 395 396 397 398 399 | 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 | - + |
# Callback for changed FileFilter, updates current filename extension
@staticmethod
def save_file_filterchange(c):
fn, ext = c.get_filename(), c.get_filter().get_name()
if fn and ext:
fn = os.path.basename(fn)
|
| ︙ |