Commit Graph

103 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
auouymous 15fa2d4be9 Revert "Fix #864 add undownload checkbox in delete episode confirm dialog (#1284)"
This reverts commit 5eeda318f4.
2022-06-22 14:21:40 -07:00
Eric Le Lay 5eeda318f4
Fix #864 add undownload checkbox in delete episode confirm dialog (#1284)
* Fix #864 add undownload checkbox in delete episode confirm dialog

don't mark episodes new if we don't delete them now

when a mix of downloaded and not downloaded and old episodes
are selected
2022-05-13 01:35:32 -07:00
Teemu Ikonen cb61d76474 Replace Gtk.STOCK_ button labels with strings 2022-02-02 12:13:24 +02:00
Thomas Perl 4310fdbf5e Gtk UI: Use a TextView for dialogs with multiple text lines 2021-08-28 09:06:01 +02:00
Thomas Perl 7a4afcc198 Gtk UI: Use secondary text in Gtk.MessageDialog for formatting 2021-08-28 09:02:24 +02:00
blushingpenguin e09f5aecad fix playlist sync 2021-07-11 19:52:34 +01:00
Eric Le Lay e632bfdbde Merge remote-tracking branch 'origin/master' into requests 2020-11-24 09:23:28 +01:00
auouymous 15c88f00e9 Remove POSITION debug print. 2020-09-16 19:18:10 -06:00
Eric Le Lay 1c806ed959 gtk: make error dialog message copyable 2020-07-12 17:52:38 +02:00
Eric Le Lay 8d3e65bb4a add 'Show Password' checkbox to password prompt 2020-07-12 17:07:42 +02:00
Eric Le Lay 00f9cd094b fix #559 TypeError: position_func() takes 1 argument but 4 were given
due to changed api between pygtk:
https://developer.gnome.org/pygtk/stable/class-gtkmenu.html#method-gtkmenu--popup
and gtk3 gobject:
http://lazka.github.io/pgi-docs/#Gtk-3.0/callbacks.html#Gtk.MenuPositionFunc
2018-11-11 15:37:27 +01:00
MarkusHackspacher 3ce9cd55e7 remove too many blank lines 2018-07-24 14:11:05 +02:00
MarkusHackspacher 82f41f4c21 sorting imports
with isort -y -rc
see #393
2018-07-24 11:08:10 +02:00
MarkusHackspacher 49bb08c8a3 fix E502 the backslash is redundant between brackets 2018-05-08 10:43:56 +02:00
MarkusHackspacher a90fa0b521 fix W391 blank line at end of file 2018-02-11 21:51:40 +01:00
MarkusHackspacher 0c18a43d13 fix E302 and E303, only blank line change 2018-02-11 00:22:00 +01:00
Thomas Perl 98ec45a712 Update copyright years (2018) 2018-01-28 19:39:53 +01:00
Thomas Perl 7b46a0ee72 Update copyright years (2017) 2017-12-16 13:54:59 +01:00
Adam Voss 709d3377e1 Merge pull request #264 from elelay/self-hosting
Easier self-hosting support
2017-04-11 17:09:50 -05:00
Eric Le Lay 00b0094b82 show_login_dialog doesn't ask for server by default 2017-04-09 18:21:47 +02:00
Eric Le Lay 837d930765 retrieve subscriptions from custom server 2017-04-09 17:38:23 +02:00
Adam Voss 91611d00ae Prompt only for destination directory when sending to local folder.
This allows many files to be saved without choosing the destination for every file.

Fixes #163
2016-12-07 16:54:31 -06:00
Eric Le Lay 5d23879cbf fix changing section name 2016-11-26 15:30:14 +01:00
Thomas Perl 5a7c30b359 Port to Python 3 2016-11-21 23:13:46 +01:00
Eric Le Lay 6cb0123aed single quote strings in updated code 2016-10-02 19:34:24 +02:00
Eric Le Lay 5ad87807fb fix set section in channel settings 2016-09-28 11:58:37 +02:00
Eric Le Lay ce0f149136 first pass at moving away from stock images
The whole stock thing was deprecated in 3.10.
2016-09-28 11:53:28 +02:00
Eric Le Lay ef2df7b867 replace deprecated Gtk{H,V}Paned Gtk{H,V}Box with GtkPaned and GtkBox + orientation
have to set the expand property to children
2016-09-28 11:53:28 +02:00
Eric Le Lay a3fa7f860c remove center_on_widget and _is_visible 2016-09-28 11:48:20 +02:00
Thomas Perl 9b8dbdc3a6 New try to do a minimal Gtk+3 port 2016-09-25 14:31:58 +02:00
Thomas Perl 36eefc8a30 Update copyright years (2016) 2016-01-15 15:22:52 +01:00
Thomas Perl aa72634950 Update copyright years (2015) 2015-05-24 19:33:39 +02:00
Thomas Perl 553e35f219 Update copyright years (2014) 2014-02-27 21:55:13 +01:00
Thomas Perl 036b4193e2 Gtk UI: Better positioning of menu when opened using keyboard 2013-04-13 12:27:44 +02:00
Thomas Perl bda982be02 Update copyright years for 2013 2013-03-05 16:38:48 +01:00
Thomas Perl 61f2cfa379 QML UI: Remove remaining Maemo 5 (Fremantle) support
After a year of basically no work towards Maemo 5 support,
I consider gPodder 3-on-Maemo 5 something that we won't ever
do, so the remaining codes goes. This also cleans up some
dead code in the Gtk UI that's been sitting there.

If anybody wants to step up and do something about that, be
my guest. If anything, I'd assume that if anything on the N900,
gPodder 3-on-Nemo Mobilemight be feasible, and in that case, it
should be "just like Harmattan" in most ways.
2012-09-15 20:22:06 +02:00
Thomas Perl fee813ba18 Gtk UI: Welcome window and directory improvements 2012-03-08 10:52:21 +01:00
Thomas Perl ca45890b6a Cleanup/simplify extensions system and GUI 2012-02-20 23:55:36 +01:00
Thomas Perl 5e2481f597 Gtk UI: Remove fallback notification widget code
This was quite ugly anyway and had some problems with
window stacking on platforms like windows, so it should
go for now and might be replaced with better integration
in future versions with different hook scripts.
2012-02-20 21:40:38 +01:00
Bernd Schlapsi efb6bceeea refactor notification.py. Now it is a gpodder plug-in 2012-02-20 21:37:20 +01:00
Bernd Schlapsi f73a1750c5 add work for the new extension system (bugs #1491, #1500, #1555) 2012-02-20 21:37:20 +01:00
Thomas Perl 5205a4b71d Update copyright years (add 2012) 2012-01-09 21:19:24 +01:00
Thomas Perl 23808db86e Gtk UI: Remove unused touch/scroll handler code 2011-09-19 10:30:03 +02:00
Thomas Perl 756df16055 Make code conditional on "gpodder.ui.desktop" the default
Our Gtk+ UI only supports Desktop now (with the mobile
UIs all using QML or something else), so we can assume
that "gpodder.ui.desktop" is True when using gtkui.
2011-07-16 18:38:19 +02:00
Thomas Perl 7fef70e658 Remove support for Fremantle Gtk+ UI
We will only support the QML UI on Fremantle in "tres".
2011-07-16 18:35:14 +02:00
Thomas Perl 3adb17450a GTK UI: Add support for menu key / Shift+F10
This allows full keyboard control of context menus
in the podcasts, episodes and downloads treeviews.
2011-04-11 14:16:07 +02:00
Thomas Perl 1a813a4c90 GTK UI: Configurable columns in episode list 2011-04-11 13:09:50 +02:00
Thomas Perl 4376057001 Update copyright years 2011-04-01 18:59:53 +02:00
Thomas Perl 66cc798b02 Remove set_finger_friendly + finger_friendly_widgets 2011-02-01 18:06:24 +01:00