Commit graph

279 commits

Author SHA1 Message Date
Eric Le Lay
ef05dda9f3 add generic Extras menu contribution extension point
gtk3 implementation.
2017-06-25 09:25:35 +02:00
Adam Voss
8edb32bd16 Rename "Remove podcast" to "Delete podcast" 2017-04-25 18:58:00 -05:00
Eric Le Lay
d35bd04cb3 Merge pull request #291 from vossad01/issue/280
Filter `None` entries from `get_selected_episodes`
2017-04-25 18:30:28 +02:00
Eric Le Lay
719052a392 Merge pull request #283 from vossad01/issue/282
Remove some characters from filename and retry when copy fails
2017-04-25 18:29:22 +02:00
Adam Voss
ef42eb1642 Filter None entries from get_selected_episodes
Enough callers will blow up if this is the case and it has been shown to happen.  Additionally, there would not be much useful a caller could do with the `None` value.
2017-04-24 19:49:26 -05:00
Eric Le Lay
ec2a736586 remove leftover methods and update issues URL 2017-04-23 19:37:59 +02:00
Adam Voss
d106b23fb8 Merge pull request #290 from elelay/issue-159-empty-views
fix #159 - gtk3: Empty tree views do not indicate why
2017-04-23 12:27:24 -05:00
Eric Le Lay
1d96a54c0e fix #159 - gtk3: Empty tree views do not indicate why 2017-04-23 17:37:13 +02:00
Adam Voss
4ecf7d6eac Only retry copy when destination differs 2017-04-23 10:29:43 -05:00
Adam Voss
a279a0786d Display currently updating podcast when updating subscriptions
Prior to this, it would display the last podcast that was updated rather than the currently updating podcast.
2017-04-21 07:42:12 -05:00
Adam Voss
d84623e434 Remove some characters from filename when copy fails
This aims to provide better VFAT/Windows support by replacing troublesome characters if there is originally a failure. See issue #282.
2017-04-20 20:27:25 -05:00
Adam Voss
917c33f72b Use new method to create Gtk.TreeRowReference instance 2017-04-18 09:20:04 -05: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
49d2e45486 dynamic server in subscription selection title 2017-04-09 18:37:15 +02: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
Eric Le Lay
ee2918883f apply Hide podcasts without episodes at startup 2017-03-27 22:58:47 +02:00
Adam Voss
a79ae3e3f8 Check for None to prevent exception 2017-03-26 18:30:57 -05:00
Eric Le Lay
447d658d9d fix #249 - Delete key is captured for filtering rather than episode deletion 2017-03-26 23:37:29 +02:00
Eric Le Lay
825d168276 startup error fixes 2017-03-26 22:00:27 +02:00
Adam Voss
d2a9d58524 Changes since Python3 does floating point division
This was done based on a manual search for the '/' character.  No efforts were made to try to run all affected code paths.
2017-02-14 08:53:47 -06:00
Eric Le Lay
e2bba3928b html shownotes 2017-01-29 22:38:02 +01:00
Thomas Perl
3c66825731 Restore selection when deleting a single episode (Fixes #208) 2017-01-15 13:07:24 +01:00
Thomas Perl
0122e8cc00 Merge branch 'master' into gtk3 2016-12-18 13:12:04 +01: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
Thomas Perl
5685861c69 gPodder 3.9.2 "Canyonero" released 2016-11-30 09:38:39 +01:00
Thomas Perl
5a7c30b359 Port to Python 3 2016-11-21 23:13:46 +01:00
Thomas Perl
2f5029f151 Merge branch 'master' into gtk3 2016-11-20 14:59:11 +01:00
Thomas Perl
9fda99cb0d Load/update the episode list model in the background 2016-11-20 14:38:48 +01:00
Thomas Perl
22c67ef5cd Do not call sys.exit(0) at Gtk UI exit 2016-11-20 11:50:25 +01:00
Thomas Perl
5fc0b04c9f Merge pull request #164 from vossad01/fixBrokenContextMenu
gtk3: Fix broken context menu on Progress tab
2016-11-18 14:36:42 +01:00
Thomas Perl
dcacd6e676 Merge pull request #166 from vossad01/boxesToGrids
gtk3: Resume all message not shown on progress tap
2016-11-18 14:36:21 +01:00
Thomas Perl
617c2ee1e3 Merge pull request #168 from vossad01/unicodeEpisodeNames
Fix notifications when unicode characters
2016-11-18 14:35:55 +01:00
Adam Voss
27dbe80782 Allow reordering of the download queue 2016-11-15 12:00:57 -06:00
Adam Voss
c86157e669 Fix notifications when unicode characters 2016-11-14 22:51:46 -06:00
Adam Voss
9bd795d4ca Fix display of message area on Progress tab
This was broken by c6ca7ad7a8 when the control was changed to a Grid.
2016-11-14 22:03:01 -06:00
Adam Voss
ef61b0ae17 Restore item context menu on Progress tab 2016-11-08 17:11:50 -06:00
Eric Le Lay
6cb0123aed single quote strings in updated code 2016-10-02 19:34:24 +02:00
Eric Le Lay
2ec8b268bf proper addition of column view actions 2016-10-02 19:33:34 +02:00
Eric Le Lay
cd991b98e5 proper way to add win.action
window actions were not found on OSX,
resulting in all menu items disabled.
2016-10-01 21:01:49 +02:00
Eric Le Lay
12cad6528d confirm on quit, close window 2016-10-01 13:01:46 +02:00
Eric Le Lay
18c697feb1 remove macapp 2016-09-30 20:26:57 +02:00
Eric Le Lay
b99f1c207d merge menus in menus.ui 2016-09-30 20:26:27 +02:00
Eric Le Lay
5e1c8dd437 visible columns submenu; use actions in context menus where convenient 2016-09-30 14:27:50 +02:00
Eric Le Lay
001ea0aa49 menu shortcuts
like Ctrl-l to add podcast by url
2016-09-28 16:20:14 +02:00
Eric Le Lay
0f4431c908 finished Gio.Action menu conversion
only missing is visible columns menu
2016-09-28 15:51:41 +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
Eric Le Lay
b2027a7ae9 remove unused widget param 2016-09-28 11:58:37 +02:00
Eric Le Lay
9d56e65994 draw centered_text, pills, cake
Shows "Please Select an episode" when shownotes shown and refreshing
channels without new episodes.

Shows downloaded and new count after channel name

Shows download progress before episodes
2016-09-28 11:58:37 +02:00
Eric Le Lay
ea6c940b0e simplify tab navigation code 2016-09-28 11:53:28 +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
Thomas Perl
9b8dbdc3a6 New try to do a minimal Gtk+3 port 2016-09-25 14:31:58 +02:00
Thomas Perl
e08efd2874 Sync UI: Update podcast list after sync (Fixes #136) 2016-09-17 18:27:09 +02:00
Thomas Perl
d8ab3b7fcc Sync UI: Remove dead code 2016-09-17 18:26:53 +02:00
Thomas Perl
3c6df11dd3 Don't fail if update server is down (bug 2067) 2016-05-03 07:45:58 +02:00
Thomas Perl
e44344a9fe Gtk UI: Remove WebKit1 support
WebKit1 for Gtk2 support is deprecated in Debian, we may want
to re-introduce WebKit(2) support once we have ported gPodder
to Gtk3 and its GObject Introspection-based Python bindings.

See also: https://bugs.debian.org/790218
2016-02-15 07:47:43 +01:00
Thomas Perl
170f87c5f2 Alignment fix 2016-02-06 21:57:07 +01:00
Thomas Perl
678adda20a Redesign about dialog 2016-02-03 20:46:48 +01:00
Thomas Perl
24ec3e0a9d Remove broken Flattr integration 2016-02-03 20:26:07 +01:00
Thomas Perl
36eefc8a30 Update copyright years (2016) 2016-01-15 15:22:52 +01:00
Thomas Perl
39ed1bc444 Gtk UI: Use episode_list_status_changed more often 2015-11-17 19:37:09 +01:00
Thomas Perl
b251ae0410 youtube: Improve channel migration code 2015-07-01 22:58:44 +02:00
Thomas Perl
63e5c73337 Gtk UI: Always return values in play_or_download 2015-06-14 12:08:19 +02:00
Aaron Wright
ce6ddb6db0 Updated to handle sync failure when no space left
Changed sync code to check needed pace against available space and raise
error if there is not enough room for the track.  This causes the track
to be listed in the failed_sync list.  I could not get it to be in the
failed_sync list without raising an exception.  Added a new sync failed
exception.

Also changed the main gtkui code to not include the failed_sync tracks
in the list of tracks to perform post-sync processing on.  This prevents
tracks that were not copied from being marked as played.
2015-05-27 12:09:04 -04:00
Thomas Perl
aa72634950 Update copyright years (2015) 2015-05-24 19:33:39 +02:00
Thomas Perl
ed1ea2d68e QML UI: Add YouTube API key text entry + migrate button 2015-05-20 21:50:10 +02:00
Thomas Perl
4e74b0bf99 YouTube: Auto-resolve URLs also in CLI and QML 2015-05-20 21:19:20 +02:00
Thomas Perl
fd1002060c YouTube: Support V3 API via user-supplied key (bug 1999)
This adds auto-discovery of the channel ID and new-style feed for old-style
(username-based) feed URLs when the V3 API key is available, and also adds an
extra menu item for migrating subscriptions.
2015-05-20 21:10:57 +02:00
Thomas Perl
c022d9e453 Gtk UI: New podcast directory UI 2014-10-22 21:23:06 +02:00
Thomas Perl
e215a5d5a3 Vimeo: Support for selecting file format (bug 1954) 2014-09-30 13:35:23 +02:00
Thomas Perl
7544a51026 Install scheme handler for gpodder://, feed://, podcast:// and pcast://
This allows subscribing from within a webbrowser by linking to
gpodder:// (and then the full URL of the feed).
2014-09-27 15:02:49 +02:00
Thomas Perl
6f77fa1c58 Gtk UI: Keep reference to last "add podcast" dialog (bug 1021) 2014-09-27 15:02:49 +02:00
Thomas Perl
14fad9d3ec Downloads: Chronological order config option (+add to CLI) 2014-05-17 11:46:09 +02:00
zombie
c76df73ab4 download older episodes first
(remove commented-out debug code)
2014-03-10 01:11:35 +01:00
zombie
d12d1a9962 download older episodes first 2014-03-10 01:06:37 +01:00
Thomas Perl
553e35f219 Update copyright years (2014) 2014-02-27 21:55:13 +01:00
Ben Hummon
4b86d4cf6c Gtk UI: Move podcast list view options to preferences dialog
This change moves the "'All episodes' in podcast list" and
"Use sections for podcast list" from the view menu to the
preferences.
2014-01-28 22:08:21 +01:00
Ben Hummon
9a828e3cf0 Gtk UI: Update shownotes behavior
The 'Episode details', or shownotes, could be displayed but not
hidden. Further, the menu item and the context sensitive menu gave
inconsistent behavior when multiple episodes were selected. And
I've removed the 'Episode details' context sensitive menu from the
'Progress' notebook page since this displays the shownotes on the
hidden 'Podcasts' notebook page.
2014-01-28 22:00:28 +01:00
Thomas Perl
45a207f75e Merge pull request #109 from zombie/flush-warn
check if mygpo is enabled before calling .flush()
2013-10-14 12:17:45 -07:00
zombie
0b07b4f6b3 check if mygpo is enabled before calling .flush()
to avert a warning..
2013-10-14 20:55:26 +02:00
zombie
6b0654c41d fix double episode download bug
steps to reproduce:
0) have update setting on "download immediately"
1) when a new episode starts downloading
2) pause and then resume the download
3) manually update the podcast

result: a duplicate download task gets added/queued, can lead to corrupt
downloads.

there are other circumstances that can trigger the bug, but this one is
simplest/most reliable to reproduce.

while i can't claim to understand all of the download-handling code,
this seems (more) correct, and fixes the problem.

note: if the code looks confusing, the git diff patch just came out
weird -- compare the "before" and "after" files manually..
2013-10-07 01:49:06 +02:00
Eugene Nikolsky
0274a92da4 Gtk UI: Fix UnicodeDecodeError after downloads are finished (bug 1834)
When all downloads/syncs are finished, gPodder displays a summary of
downloaded episodes, having cut the titles if they are too long.
However, Russian descriptions are regular, non-unicode python strings,
and gPodder may cut only a part of a multi-byte UTF-8 sequence. It
causes an exception like this:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xbe in position 51:
invalid start byte

This patch fixes that by converting the title to a unicode string if
it's not unicode.

This bug is similar to bug 1825, commit
e1ce9b0551.
2013-08-03 12:56:53 +03:00
Bernd Schlapsi
c10bbe9969 Gtk UI: Show notification bubbles when downloads fail (bug 1265)
Don't show the GTK message dialog when downloads fail.
Just show the pyNotify message dialog.
2013-03-09 12:02:17 +01:00
Thomas Perl
a09b204ad6 Gtk UI: Fix submenu activation/focus issues (bug 1778)
This fixes the same problem as outlined in bug 1778, but also
makes sure that keyboard navigation still works.
2013-03-09 11:35:36 +01:00
Thomas Perl
bda982be02 Update copyright years for 2013 2013-03-05 16:38:48 +01:00
Thomas Perl
7de1a3e01d Gtk UI: Resizable shownotes view in main window 2013-03-05 11:36:41 +01:00
Thomas Perl
2ae85c3a4c Gtk UI: Fix context menu UI blocking (bug 1778) 2013-02-27 12:15:12 +01:00
Thomas Perl
79dc6882e1 Style cleanups: Trailing whitespace, "is None"
In src/gpodder/gtkui/main.py: Use "callback is None"
instead of "callback==None", and also make the function
signature nicer (spacing, newline).

Remove trailing whitespace in all files affected by the
latest device sync patch:

  git show HEAD | diffstat -l | xargs sed -i 's/\s\+$//g'
2013-02-08 11:08:28 +01:00
Joseph Wickremasinghe
b9b752df40 Device playlists & two-way sync 2013-02-08 11:03:33 +01:00
Eric Le Lay
9e34eb1e0e Mac OS X: GtkOSXApplication 2.0.1 fixes (bug 1759) 2013-01-26 11:30:47 +01:00
Sean Munkel
4210a3948b Fix: Switching between shownotes can cause window to expand (bug 1736) 2012-12-29 14:27:54 +01:00
Thomas Perl
f7313d98bb Model: Various cleanups/simplifications 2012-12-28 18:31:39 +01:00
Bernd Schlapsi
7e142cca0f Add smart grouping of extension context menu
Context menues from extensions were grouped by string parsing.
If "/" is in the string the string before the seperator is used as
root menu entry and the string after the seperator is used as
sub-menu entry
2012-12-23 00:55:46 +01:00
Bernd Schlapsi
6eab50ab07 Add flattr option to the episode context menu 2012-12-22 16:28:31 +01:00
Bernd Schlapsi
d5eae16b9f Improvements to the extension system
- Add category metadata in every extension
- Show this category in the extension list gui
- Add "mandatory_in" and "disable-in" configuration for an extension
- Add Ubuntu unity check to enable/disable unity specific extensions
- Move "gpodder.win32" and "gpodder.osx" setting to the "gpodder.ui" namespace to be able to use it in the extensions category settings
- Only show metadata information in the right-click dialog of an extension
2012-12-07 10:30:28 +01:00
Thomas Perl
83d779feeb Gtk UI: Integrate shownotes into main window
For now, this removes Flattr integration, but I'm sure
Bernd will fix this sooner or later.
2012-11-17 16:24:18 +01:00
Thomas Perl
672ae57e49 Gtk UI: Import titles from OPML / directory (bug 1711)
We now prefer titles from the podcast directory and OPML
files to the title in the feed. For URL-only adds, we still
use the title from the feed.
2012-11-17 12:53:00 +01:00
Thomas Perl
9e218bc3b5 YouTube: Cleanup the format selection patch 2012-10-23 13:41:40 +02:00
Chionsas
14ab2d0478 YouTube: Gtk UI for video quality selection (pull request 19)
1) Redid the youtube video format list (added fallbacks for each quality
setting) and added a new config key youtube.preferred_format_ids, that
accepts a list of supported quality ids.

2) Added a GUI setting switcher that lets a user pick between predefined
video quality settings and respects the 'custom' setting.  'Custom'
should currently only be used if the user prefers 3D formats or 3GP.
All other variants are in the normal settings with sane fallbacks.

Existing users will not feel any change (current fmt=18 default is
respected). Only the default fallback for get_real_download_url() was
changed (to 720p), but that will never be called unless the user clears
her youtube.preferred_fmt_id variable.
2012-10-23 13:41:31 +02:00
Thomas Perl
665ca1f2b5 Gtk UI: Don't auto-update when offline (bug 107) 2012-10-16 10:40:48 +02:00
Bernd Schlapsi
4236254da9 New extension: update_feeds_on_startup (bug 1656)
It's an gtk-only feature
2012-10-13 16:57:11 +02:00
Thomas Perl
236ee1f6a7 Download strategy: Only keep latest (bug 188)
Add per-podcast option to only keep the latest episode of a
channel (default strategy is still the current setting).
2012-10-13 16:21:25 +02:00
Thomas Perl
e3f5360073 Basic Offline mode support (bug 107)
Detect network connections on Linux (still need to find a way to
implement it for Windows and OS X - on these platforms, this
implementation acts as if the connection is always available).

We might need to use this in more places in the code, but for starters
this should work nicely.

The Linux implementation assumes the "ip" command is available.
2012-10-13 13:52:14 +02: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
3a9eb69cd0 QML UI: Download resuming (bug 1487)
Move download resuming code from Gtk UI module to
gpodder.common (new module) and use it from the QML UI
for a simple "Resume downloads" dialog at startup.
2012-08-16 11:08:35 +02:00
Thomas Perl
7894ab25eb Flattr: Flattr-on-play for QML UI, fixes for Gtk UI 2012-07-24 20:28:48 +02:00
Thomas Perl
2d01c507a9 Flattr: Implement flattring in QML UI 2012-07-14 18:12:05 +02:00
Thomas Perl
c469f43bd7 Flattr integration: Show error messages to user 2012-07-13 13:37:55 +02:00
Bernd Schlapsi
beaf1a6d69 Flattr integration (bug 1576) 2012-07-13 13:00:39 +02:00
Thomas Perl
c1dae9e9f6 Gtk UI: Initial hack for embedded shownotes display
Add configuration option to embed shownotes in main window.
2012-07-12 21:14:53 +02:00
Thomas Perl
dc06483bbd Threading: Use util.run_in_background to spawn threads
This makes it easier to check where threading is used
and will allow us to better handle creation of threads.
2012-07-10 13:52:34 +02:00
Thomas Perl
972c045ad9 Merged and cleaned-up the device sync code (bug 1579) 2012-07-09 21:17:13 +02:00
Joseph Wickremasinghe
5b949efba2 Updates as per Thomas' comments Jul 3rd 2012 2012-07-09 20:25:37 +02:00
Joseph Wickremasinghe
2774142f8f Added device sync using 'Downloads' tab to show progress 2012-07-09 20:25:37 +02:00
Nick Stevens
f08e0b13c2 Add "on_channel_context_menu" callback
Add an extension callback for reacting to a user activating the context
menu on a channel. Allows the extension developer to add menu items to
the channel context menu if desired.
2012-06-25 09:07:17 -05:00
Thomas Perl
1d90311736 Gtk UI: Reintroduce "Open Download Folder" menu item 2012-04-01 18:28:28 +02:00
Thomas Perl
add8ced755 Gtk: Allow tab cycling via Ctrl+Tab (bug 1580) 2012-03-22 11:23:26 +01:00
Thomas Perl
fee813ba18 Gtk UI: Welcome window and directory improvements 2012-03-08 10:52:21 +01:00
Thomas Perl
c9d5e7208d Cover art: Unified download manager (bug 1288) 2012-03-05 10:44:19 +01:00
Eric Le Lay
6157e8f159 OS X integration: Switch to gtk_osxapplication (bug 1482) 2012-03-04 15:38:38 +01:00
Thomas Perl
bded8424eb Windows: Check for software updates (bug 1569)
The check can be carried out on Linux and OS X
as well, but it's mainly targetted at Windows
users, as Linux users will usually get updates
via package repositories. Only for the Gtk UI.

By default, the check is only enabled on Windows
and can be disabled manually via the config editor.
2012-03-03 21:14:42 +01:00
Thomas Perl
6b7bff36dc Gtk: Set fixed icon size for episode list
Avoids rendering problems on Windows and with
Gtk themes that have different icon sizes.
2012-03-03 21:14:42 +01:00
Thomas Perl
9f58b8eda8 Write debug output to logfile (bug 1460)
Also, various clean-ups around the logging mechanism (remove
gpodder.ui.desktop, etc..) needed to make the logging work without
problems.
2012-03-02 09:03:01 +01:00
Thomas Perl
ff380cab0d Gtk UI: Make live search delay configurable
The ui.gtk.live_search_delay configuration variable
sets the delay in milliseconds after typing stops
for the live search to take place. Set this to a
higher value on low-powered machines to avoid hangs
while the search takes place.

You can set this variable to 0 on normal machines to
get instant search results as you type.
2012-02-27 14:53:27 +01:00
Thomas Perl
c9c71d2f0c Extensions: Experimental AppIndicator support
The way how we access the gPodder "GUI" object is
very hack-ish. We should find a better way for that.
2012-02-24 00:44:16 +01:00
Thomas Perl
556cc0fab4 Ubuntu: Make the Unity integration an extension
This is still not perfect (has to launch as new process),
but it works for the normal use case as an extension.

Also added support for localized metadata in extensions.
2012-02-24 00:12:00 +01:00
Thomas Perl
43cc52f1ef Ubuntu Unity Launcher Integration 2012-02-23 23:54:23 +01:00
Thomas Perl
4218497599 Extensions/Gtk: Move manager to preferences dialog
Move manager to preferences dialog.

Make the manager listen on config changes to enable
and disable extensions/containers on the fly.

Move the "enabled" flag into the container as an
attribute (+ add set_enabled() method for loading).
2012-02-21 13:50:33 +01:00
Thomas Perl
1d4c2736e0 Gtk UI: Simplify/cleanup the about dialog 2012-02-21 00:59:44 +01:00
Bernd Schlapsi
c29dc7056a worked again on the review feedback from thp -> one file per extension
Conflicts:

	src/gpodder/extensions.py
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
34f4001cae Gtk UI: Download progress icon in episode list 2012-02-05 23:42:23 +01:00
Thomas Perl
990cebe9b9 First try on the new JSON-based config module 2012-02-04 19:21:51 +01:00
Thomas Perl
f5ab4117fa Gtk UI: Fix dialog parents / modalness
This makes sure the dialogs appear connected to
the main window in environments like GNOME 3.
2012-01-24 20:15:36 +01:00
Thomas Perl
d18f1fdc74 Gtk UI: Merge code in get_expired_episodes()
This makes it easier to move it out of the Gtk
UI code later on and in a more generic module.

This will be required for gPodder bug 1445 in
the CLI module, so this is a preparing refactor.
2012-01-21 10:41:29 +01:00
Thomas Perl
5205a4b71d Update copyright years (add 2012) 2012-01-09 21:19:24 +01:00
Thomas Perl
0df167ff3e Auth: Allow "@" in login username for feeds (bug 1521)
Thanks to Eric Smith for reporting this issue and
providing a login to help test and debug this bug.
2012-01-09 14:45:33 +01:00
Thomas Perl
0fe8a6ea3c Gtk UI: Add "Mark episodes as old" menu item 2011-12-30 12:09:48 +01:00
Thomas Perl
24bf4afaad Avoid errors when querying tooltips of separators 2011-12-05 16:54:56 +01:00
Thomas Perl
d02368dd3a Detect existing URLs on feed redirection (bug 1457)
When the feed is redirected, we usually simply rewrite
the URL. However, if the new URL already exists in the
subscriptions, we must not allow this, and ideally
fail to update the feed to avoid duplicates.
2011-11-12 15:19:12 +01:00
Thomas Perl
fb42e0b51b QML UI: Add support for gpodder.net sync (bug 1400)
This right now only syncs actions when an account is
already configured. The configuration UI will come only
on the Harmattan QML UI (it has Qt Quick Components).
2011-11-02 10:41:38 +01:00
Thomas Perl
5129300ce8 Gtk UI: Only update list once when podcast URLs are rewritten 2011-11-01 19:38:07 +01:00
Thomas Perl
fe8a6791db Gtk UI: Re-enable gpodder.net syncing (bug 1401) 2011-10-31 21:01:01 +01:00
Thomas Perl
7eca6b5315 Gtk UI: Remove unused, obsolete functions 2011-10-31 17:32:39 +01:00
Thomas Perl
6b31f3751e Check download folders when loading podcasts
This makes sure that externally-downloaded files
are marked as downloaded and externally-deleted
files are marked as deleted on startup in all UIs.
2011-10-22 17:50:10 +02:00
Thomas Perl
8338328034 Gtk UI: Remove unnecessary parameters 2011-10-19 14:56:53 +02:00
Thomas Perl
61230be261 Avoid early deletion/collection of gPodderWelcome (bug 1021)
The gPodderWelcome Python object was deleted and/or collected
after it fell out of scope, while the Gtk dialog was still
displayed. Work around this by running a separate main loop
for the dialog, so that the Python object stays alive longer.

This bug has been haunting us for quite some time now, and it
seems like the object hasn't always been collected, making it
harder to track down the bug. But rejoice, we finally fixed it!

Conflicts:

	src/gpodder/gtkui/desktop/welcome.py
	src/gpodder/gtkui/main.py
2011-10-19 14:51:46 +02:00
Thomas Perl
956ac7d9b1 Initialize woodchuck using hooks, improve "gpo"
Instead of initializing woodchuck explicitly, let the
hooks module know then the UI has been initialized,
and provide some callbacks (that Woodchuck needs, but
which could be used by other hook scripts) and the model.
2011-10-19 12:37:55 +02:00