Commit Graph

6 Commits

Author SHA1 Message Date
Teemu Ikonen 6bd0bb0530 Remove unused imports and pass statements
Fixes flake8 error F401.
Most errors were fixed by running

autoflake -i -r --remove-all-unused-imports .

which also removes unnecessary 'pass' statements, some by hand-editing.
2022-11-14 18:32:09 +02:00
Teemu Ikonen 3f64a58fa9 gPodderExportToLocalFolder: Use GtkDialog.add_buttons()
Create the dialog buttons with GtkDialog.add_buttons(). This places them
either to the dialog action area, or to the headerbar, accoording to the
system setting.

Also set 'do-overwrite-confirmation' property of the Dialog to False.
2022-02-05 22:22:38 +02:00
Teemu Ikonen e8c6969abd gPodderExportToLocalFolder: Remove deprecated GTK stock items
gpodderexporttolocalfolder.ui:
 * Save with Glade 3.38.2
 * Replace GTK stock labels with text

exportlocal.py: Set transient for parent (was not set before)
2021-09-17 22:11:10 +03:00
Ana Hosu 18dfd5b602 don't reset last folder to home if cancel is selected 2021-01-15 01:25:20 +00:00
Eric Le Lay d6d969ce31 fix export to local folder: 1st filename not selected 2018-10-14 21:54:38 +02:00
Eric Le Lay cdbeb04eb5 fix #374 export to local folder filename customizable again
with a checkbox to export all remaining episodes to same folder.
This restores the ability to choose the filename for each episode,
while keeping export of a large number of episodes convenient (click export remaining...)
2018-10-13 18:18:25 +02:00