Commit Graph

109 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 9bdc9d966e
Merge pull request #1303 from auouymous/setting-to-disable-find-as-you-type
Add setting to disable find-as-you-type.
2022-11-09 03:42:05 +00:00
Teemu Ikonen 4212b17bf2 Do not rely on the Extensions page being last in the stack. 2022-07-11 02:08:51 -06:00
auouymous aec5e162cf Add/remove extension preferences buttons when loaded/unloaded.
The user must currently close preferences and reopen to configure
extensions that provide a preferences UI. This is a problem when the
user does not know the extension has preferences, but the sudden
appearance of the button when an extension is enabled might catch the
user's attention.

Furthermore, removing the button when the extension is unloaded prevents
any confusion as to why it is still there.
2022-07-08 16:28:41 -06:00
auouymous c9ad2b6884 Add setting to disable find-as-you-type.
The new setting defaults to enabled to preserve the current behavior of
opening search fields in channel and episode lists when the user begins
typing. Disabling the feature ignores the keypresses and requires ctrl-f
or ctrl-shift-f to open or focus the search field.
2022-06-10 23:26:09 -06:00
Thomas Perl a9726153c7
iPod support restored using ctypes and libgpod (#1289)
* iPod support restored using ctypes and libgpod
2022-06-02 17:41:42 -07:00
Teemu Ikonen 3a5a8ce990 preferences: Ellipsize playlist folder button label 2022-04-29 11:40:28 +03:00
Teemu Ikonen d6447d1bfb preferences: Enable word wrapping in checkbox labels 2022-04-13 16:28:25 +03:00
Teemu Ikonen 3d85283bac preferences: Allow a narrower Video page
* Replace Grid with FlowBox in Video page
 * Don't set hexpand on ComboBoxes
 * preferences.py: Ellipsize video format selector combobox strings
2022-04-13 16:28:25 +03:00
Teemu Ikonen b1ef6e0859 preferences: Allow a narrower Devices page
* Enable word wrap in labels
 * Replace GtkGrid with two vertical GtkBoxes
 * Add bottom margins to checkbuttons as label wrapping space
 * preferences.py: Ellipsize device button label, replace deprecated
   set_alignment() with set_xalign()
2022-04-13 16:28:25 +03:00
Teemu Ikonen d3ccce258c
preferences: Use GtkStack instead of GtkNotebook (#1261)
* preferences: Use GtkStack instead of GtkNotebook

* Add Separator and ScrolledWindow to StackSwitcher

* Add ScrolledWindow to preferences Stack

Remove ScrolledWindow from Extensions page.
2022-04-10 04:17:53 -07:00
Teemu Ikonen cb61d76474 Replace Gtk.STOCK_ button labels with strings 2022-02-02 12:13:24 +02:00
Teemu Ikonen 2ded35705e
Preferences: Remove deprecated GTK features (#1154)
* gpodderpreferences.ui: Save with Glade 3.38.2

* gpodderpreferences.ui: Add tab label children

* gpodderpreferences.ui: Return notebook pages to correct order

* gpodderpreferences.ui: Use named icons, replace stock-ids

* gpodderpreferences.ui: Remove extra rows and columns from table_video

* gpodderpreferences.ui: Use traditional indicator for CheckButtons

* gpodderpreferences.ui: Set can-focus to True where appropriate

* gpodderpreferences.ui: Add border-width to mygpo_config

* gpodderpreferences.ui: Add margins around dialog ButtonBox

* gpodderpreferences.ui: Replace gtk-close stock label with text

* preferences.py: Set transient for parent

* podcastdirectory.py: Set transient for parent

This was accidentally removed in d9a0c7d15a.

* gpodderchannel.ui: Downgrade GTK requirement to 3.16

* README.md: Increase minimum GTK version to 3.16
2021-09-10 17:14:12 -07:00
Thomas Perl 4310fdbf5e Gtk UI: Use a TextView for dialogs with multiple text lines 2021-08-28 09:06:01 +02:00
auouymous 776b9b850e Fix additional linting issues. 2021-07-29 18:10:26 -06:00
blushingpenguin e09f5aecad fix playlist sync 2021-07-11 19:52:34 +01:00
blushingpenguin b6d5836827 remove old, disabled mtp support 2021-06-12 16:27:30 +01:00
blushingpenguin e93dcddb56 windows fixes 2021-06-08 20:55:56 +01:00
blushingpenguin 6d40da3cb5 use Gio for file system based device sync (allows mtp:// urls) 2021-05-31 07:12:13 +01:00
auouymous 844aef7c1b Add checkbox to disable connection checking.
This avoids issues with connection checking from breaking gPodder until
an update becomes available.
2021-04-23 03:42:19 -06:00
Teemu Ikonen f86957c7bc Remove config.videoplayer from legacy settings
Also assume that config.player.{audio,video} are always set.
2021-03-05 11:59:34 +01:00
Teemu Ikonen 47362394a3 Remove config.player from legacy settings
Use config.player audio everywhere.

Allows setting new config.player.* variables.
2021-03-05 11:59:34 +01:00
auouymous bc62e3bb4c Youtube live streaming support 2020-09-12 02:34:39 -06:00
auouymous 3da287791d don't clear custom youtube formats 2020-05-04 23:55:36 -06:00
Eric Le Lay a7f5394e0a
Merge pull request #735 from gpodder/remove-yt-apikey
Remove youtube api key usage
2020-02-01 16:57:30 +01:00
auouymous 52dfba1d08 allow extensions to add tabs to preferences and channel settings dialogs 2020-01-30 22:25:37 -07:00
Eric Le Lay bffa6b9304 Remove youtube api key usage
fixes #616
2020-01-25 17:31:16 +01:00
auouymous a46f131785 #704 save position and size for preferences and editcfg windows
Signed-off-by: auouymous <au@qzx.com>
2020-01-01 14:33:46 +01:00
Eric Le Lay 3c58c27b2c replace cgi.escape with html.escape everywhere
cgi.escape is deprecated
2019-09-08 18:14:52 +02:00
MarkusHackspacher f4c075c334 fix E127 continuation line over-indented for visual indent 2018-08-25 09:42:10 +02: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 c99fca923e fix E231 missing whitespace after ',' 2018-05-29 22:54:05 +02:00
MarkusHackspacher 0a851a1302 fix E265 block comment should start with '# ' 2018-05-16 18:17:52 +02:00
MarkusHackspacher 49bb08c8a3 fix E502 the backslash is redundant between brackets 2018-05-08 10:43:56 +02:00
MarkusHackspacher 2075ea8d5f fix E225 missing whitespace around operator 2018-04-17 14:39:05 +02:00
MarkusHackspacher 71383c18b7 fix E226 missing whitespace around arithmetic operator
in src/gpodder/gtkui/desktop/
see issue https://github.com/gpodder/gpodder/issues/393
2018-03-18 01:22:00 +01:00
MarkusHackspacher 0c18a43d13 fix E302 and E303, only blank line change 2018-02-11 00:22:00 +01:00
MarkusHackspacher fcbaee227c Fix W291 trailing whitespace 2018-02-01 07:59:22 +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
Thomas Perl 5a7e55d1a2 Preferences: Prevent selection of 'header' rows 2017-12-16 13:42:57 +01:00
Eric Le Lay e0f58d7d0a update Extras/Extensions section dynamically
no need to restart to get the extension's menu items
2017-07-25 14:57:36 +02: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 a75307c40f change mygpo server in preferences 2017-04-09 17:38:23 +02:00
Eric Le Lay 825d168276 startup error fixes 2017-03-26 22:00:27 +02:00
Thomas Perl 5a7c30b359 Port to Python 3 2016-11-21 23:13:46 +01:00
Eric Le Lay 243678bf80 preferences: fix update interval display 2016-10-08 15:31:52 +02:00
Eric Le Lay 5a8ee1a3f1 first pass at Gio.Action conversion 2016-09-28 12:47:34 +02:00
Eric Le Lay eb1404ff37 gtk3 fixes and cleanup 2016-09-28 11:58:37 +02:00