Commit graph

45 commits

Author SHA1 Message Date
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
Thomas Perl
160c712432 Don't sort the podcast model in-place
This is already done in all the views, so it's
unnecessary to sort the "backend" list, too.
2011-10-17 14:17:29 +02:00
Thomas Perl
11c849a19d Gtk UI: Fix problems with adding/removing podcasts
Argh!
2011-10-17 13:54:49 +02:00
Neal H. Walfield
f80ddf138f Make Model a proper class
- Add an __init__ method to Model taking the DB to model.
 - Make get_podcasts and load_podcast instance methods rather than
   class methods.  Don't require that the caller pass the DB to use.
 - Update users.
   - Have Core.__init__ take an additional parameter, model_class.
     Instantiate a model from self.db using the provided model_class.
2011-10-17 12:59:53 +02:00
Thomas Perl
be00077e19 GNOME 3: Add "Close" button to about box
Otherwise the user would have to close the modal
about dialog with Escape, which might not be very
usable for users which are not used to this key.
2011-10-13 16:35:43 +02:00
Neal H. Walfield
31a4871afd Gtk UI: Don't show the new episodes dialog for background updates 2011-10-12 12:32:32 +02:00
Neal H. Walfield
30fc4befe6 Add woodchuck plug-in and integrate it into UIs 2011-10-12 12:31:29 +02:00
Neal H. Walfield
bf1385d0c8 Enable hooks unconditionally
- Enable hooks unconditionally in core.py.
  - Remove checks for whether 'gpodder.user_hooks' is None (it can't be).
2011-10-12 11:26:35 +02:00
Thomas Perl
c4e6d1a86b Gtk UI: Toggle "new" status by clicking the icon (bug 1432)
Toggling the new status of episodes works when the clicked episode
is selected and the icon is clicked. Setting the new status also
works when multiple episodes are selected - the clicked episode is
toggled, and depending on the new status of the clicked episode,
the rest of the selected episodes is also updated with this status.
2011-09-19 10:47:20 +02:00
Thomas Perl
23808db86e Gtk UI: Remove unused touch/scroll handler code 2011-09-19 10:30:03 +02:00
Thomas Perl
a1253753c3 Remove conditionals on gpodder.ui.desktop
The only place where the Gtk UI is used right now
is on the Desktop, so avoid unnecessary checks.
2011-09-19 10:20:04 +02:00
Thomas Perl
54f2b06790 Avoid reloading the podcast list unnecessarily on feed updates 2011-09-18 22:39:34 +02:00
Thomas Perl
ab75e9bdef Fix multiple context menu hooks 2011-08-05 22:14:04 +02:00
Dov Feldstern
7b1a47c435 Rewrite check for received actions (bug 1391) 2011-08-01 10:34:09 +02:00
Thomas Perl
7011982695 Gtk UI: Various fixes to the section-list code 2011-07-28 14:58:17 +02:00
Thomas Perl
ac5d77e723 Gtk UI: Add support for changing sections (bug 931) 2011-07-28 13:50:13 +02:00
Thomas Perl
6996006b72 Gtk UI: Reduce the number of UI updates during new episode check 2011-07-27 20:27:27 +02:00
Thomas Perl
59a70b7fc6 Gtk UI: Improve the podcast list section style
Make the section style less busy, align the section
name to the left and add some padding to the top.
2011-07-27 16:26:20 +02:00
Thomas Perl
a18a718b32 GTK UI: Group podcasts into sections (bug 1238)
Optional grouping of podcasts into sections, as with
the QML UI. This option is enabled by default.
2011-07-27 14:19:02 +02:00
Thomas Perl
4d2851a8ea Gtk UI: Enable support for previewing downloads (bug 983)
When a non-default player is selected, we assume it can
playback .partial files (tested with VLC) while they are
being downloaded.
2011-07-27 13:37:58 +02:00
Thomas Perl
1894f0e999 GTK UI: Clean up episode_object_by_uri 2011-07-26 12:17:17 +02:00
Thomas Perl
f5acd56d24 Improve podcast list updating in Gtk UI 2011-07-16 20:51:26 +02:00
Thomas Perl
d0df54b119 Various code-cleanups and removal of dead/obsolete code 2011-07-16 18:49:19 +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
d714be329e Make DownloadTask a child of PodcastEpisode 2011-07-16 18:04:07 +02:00
Thomas Perl
52779f611b First cut of dbsqlite simplification (w/ weakrefs) 2011-07-16 14:30:08 +02:00
Thomas Perl
819a97b59d Cleanup dependencies, remove D-Bus mock code 2011-07-15 17:55:38 +02:00
Thomas Perl
362b94b69f Rename "gpodder.gpodderosx" to "gpodder.gtkui.macosx" 2011-07-15 17:44:11 +02:00
Thomas Perl
de8edc872f Gtk UI: Rename "gpodder.gui" to "gpodder.gtkui.main" 2011-07-15 17:12:35 +02:00
Renamed from src/gpodder/gui.py (Browse further)