Commit Graph

207 Commits

Author SHA1 Message Date
Teemu Ikonen 490d5695a9 Merge tag '3.11.2' into dev-adaptive
gPodder 3.11.2 release
2023-08-15 15:08:21 +03:00
auouymous 839b0b2aa5 Fix linter issues for pycodestyle 2.11.0. 2023-08-07 19:46:44 -06:00
Teemu Ikonen 4539d8c5e4 Merge tag '3.11.1' into dev-adaptive
gPodder 3.11.1 release
2023-02-27 12:46:18 +02:00
auouymous e1fc290ef2 Remove all timer deadlocks by using idle_add priority for them.
Add util.idle_timeout_add() to register timers with the same priority as
idle_add(). Change the IdleTimeout to also use the idle_add() priority.
This eliminates the chance of a timer blocking any idle_add from
running.

Change most timeout_add's to idle_timeout_add. Change the timer in
DownloadStatusModel::get_next() back to an idle_add.
2023-01-03 06:01:15 -07:00
auouymous 36dbad9c53 Refactor ProgressIndicator.
Add on_ticks() and max_ticks to simplify code using progress indicators.
And support final ticks to set progress to 100% before a final long
operation.

Change interval from 100ms to 250ms, to allow more time to be spent on
the operation.
2023-01-03 05:58:42 -07:00
Teemu Ikonen f00eef5e5c Merge branch 'master' into dev-adaptive 2022-12-19 23:02:01 +02:00
Teemu Ikonen d87ac85506 Fix 'W504 line break after binary operator' flake8 warnings
Fixed by running

autopep8 -i -r --select=W504 .

and some hand tuning.
2022-11-14 18:32:09 +02:00
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 236a4c9966 Replace is_on_mobile_screen() with have_touchscreen() 2022-11-03 15:03:52 +02:00
Teemu Ikonen 46dbc80d8b Merge branch 'master' into dev-adaptive 2022-10-28 21:59:50 +03:00
auouymous fe83a92286 Remove redundant timeout removal when creating progress dialog.
It is somehow possible for source_id to be zero, causing a
g_source_remove assertion warning.
2022-09-16 05:28:14 -06:00
auouymous 26c0f8dad8
Merge pull request #1368 from auouymous/progress-dialogs
Progress dialogs
2022-08-26 03:24:55 -07:00
Teemu Ikonen b685022a8c Add function is_on_mobile_screen(window) 2022-08-24 11:54:26 +03:00
Teemu Ikonen dfc0ebc18d Remove set_transient_for() calls to fix Phosh non-maximization 2022-08-24 11:54:26 +03:00
Teemu Ikonen 06cb0aa451 Add func TreeViewHelper.get_popup_rectangle 2022-08-22 18:56:58 +03:00
auouymous fc0c1981ed Add icon to clear URL in the add podcast dialog. 2022-08-13 02:51:15 -06:00
auouymous 932a8e7069 Fix stripping of pasted text when adding podcast URL. 2022-08-13 02:34:45 -06:00
auouymous 8d1acbd3ad Improve cancelling of progress dialog and manually updating it. 2022-08-13 02:09:24 -06:00
auouymous f05ce1fc0a Switch deprecated GObject functions to GLib. 2022-08-13 00:33:28 -06:00
Teemu Ikonen 2cc1a7614a Merge branch 'master' into dev-adaptive 2022-07-02 23:31:38 +03: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
Teemu Ikonen 867fe57185 Require Gdk version 3.0 everywhere 2022-06-02 20:58:06 +03:00
Teemu Ikonen bce111451f Merge branch 'master' into dev-adaptive 2022-05-15 13:55:56 +03: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 03a6aabf96 Merge branch 'master' into dev-adaptive 2022-04-30 23:48:12 +03:00
lexolexo 778f5b708c
Added logic to trim away leading/trailing whitespaces in user-clipboard auto-inputted urls (#1276)
* Added logic to trim away leading/trailing whitespaces in user-inputted
urls. Tested against current gpodder-installe executable for correct/
desired behaviour. simplified receive_clipboard_text method of class
gPodderAddPodcast in addpodcast.py
resolves #520
2022-04-16 22:11:10 -07:00
Teemu Ikonen cab3629813 Merge branch 'master' into dev-adaptive 2022-02-04 12:30:02 +02:00
Teemu Ikonen 4453316aa8 Merge tag 'merge5' into dev-adaptive 2022-02-04 12:22:51 +02:00
Teemu Ikonen 28c5774f89 Merge tag 'merge2' into dev-adaptive 2022-02-04 10:56:20 +02:00
Teemu Ikonen cb61d76474 Replace Gtk.STOCK_ button labels with strings 2022-02-02 12:13:24 +02:00
Teemu Ikonen 6483059d41 gPodderConfigEditor: Remove deprecated GTK features
gpodderconfigeditor.ui:
 * Save with Glade 3.38.2, require GTK 3.16
 * Replace gtk-close with text label
 * Use Dialog internal action_area for Close button
 * Add underline accelerator for '_Show All'

configeditor.py: Set transient for parent
2021-09-17 22:11:10 +03:00
Teemu Ikonen 1ef54e3216 gPodderAddPodcast: Remove deprecated GTK stock items
gpodderaddpodcast.ui:
 * Save with Glade 3.38.2, require GTK 3.16
 * Set can-focus to True where needed
 * Replace GTK stock labels with text

addpodcast.py: Set transient for parent
2021-09-17 22:11:10 +03: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
Teemu Ikonen 526d2128c8 Fix isort / make lint 2021-08-14 19:30:09 +03:00
Teemu Ikonen 03a915bbd4 Merge commit '99c46e89e3e2ceb88d0be140789c63419a5fef2c' into dev-adaptive 2021-08-11 20:43:51 +03:00
Teemu Ikonen 7b2a3840e5 Fix pycodestyle errors 2021-08-04 15:06:57 +03:00
Teemu Ikonen 33c84d450c BuilderWidget: Allow defining ui_folder per instance 2021-08-04 14:00:15 +03:00
blushingpenguin e09f5aecad fix playlist sync 2021-07-11 19:52:34 +01:00
Teemu Ikonen a3a04d1bb9 Disable extension menu action if its callback is None 2021-02-15 23:02:31 +02:00
Teemu Ikonen 6e66e90ab3 Make Return on search entries activate the first match 2021-02-15 22:02:10 +02:00
Teemu Ikonen eebd898893 Add TreeViewHelper.set_cursor_to_first() and use where needed 2021-02-15 22:02:10 +02:00
Teemu Ikonen 67125155bc Call treeview_*_show_context_menu() from long press handler 2021-02-15 13:43:34 +02:00
Teemu Ikonen 644e465190 Re-enable extensions, add menu sections to app and context menus 2021-02-15 13:43:34 +02:00
Teemu Ikonen b95da95a1b Add search button and bar to channel and episode boxes 2021-02-15 13:43:34 +02: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 c3bcf93dc8 option to always show search fields 2020-04-14 16:38:52 +02:00