Hello,

Attached are two tiny patches to fix some usability issues.

Here are the modifications:

1) When update_feed_cache is called without 'force_update = True' the
little dialog should read "Loading feeds" instead of "Downloading
feeds" because we're not actually downloading anything.
2) I think it's better to only run auto_update_procedure when the
gPodder window is minimized, it gets annoying if it pops up while
you're trying to use gPodder.
3) When adding a new feed it's nice to be able to press "Enter"
instead of "Tab+Enter" (or actually clicking the Add button :)

nick
--- data/gpodder.glade	2008-01-30 13:53:42.000000000 -0500
+++ data/gpodder.glade	2008-01-30 13:49:34.000000000 -0500
@@ -1000,7 +1000,8 @@
 			      <property name="has_frame">True</property>
 			      <property name="invisible_char">●</property>
 			      <property name="activates_default">False</property>
-			      <signal name="changed" handler="on_entryAddChannel_changed" last_modification_time="Wed, 11 Jul 2007 06:23:29 GMT"/>
+			      <signal name="activate" handler="on_btnAddChannel_clicked" last_modification_time="Wed, 30 Jan 2008 18:49:14 GMT"/>
+			      <signal name="changed" handler="on_entryAddChannel_changed" last_modification_time="Wed, 30 Jan 2008 18:47:30 GMT"/>
 			    </widget>
 			    <packing>
 			      <property name="padding">0</property>
--- src/gpodder/gui.py	2008-02-01 13:43:27.000000000 -0500
+++ src/gpodder/gui.py	2008-02-01 13:43:25.000000000 -0500
@@ -804,8 +804,12 @@
 
         please_wait = None
         if show_update_dialog:
-            title = _('Downloading podcast feeds')
-            heading = _('Downloading feeds')
+            if force_update:
+                title = _('Downloading podcast feeds')
+                heading = _('Downloading feeds')
+            else:
+                title = _('Loading podcast feeds')
+                heading = _('Loading feeds')
             body = _('Podcast feeds contain channel metadata and information about current episodes.')
     
             please_wait = gtk.Dialog(title, self.gPodder, gtk.DIALOG_MODAL, (gtk.STOCK_CANCEL, gtk.RESPONSE_CANCEL))
@@ -1419,7 +1423,7 @@
     def auto_update_procedure(self, first_run=False):
         log('auto_update_procedure() got called', sender=self)
         gl = gPodderLib()
-        if not first_run and gl.config.auto_update_feeds:
+        if not first_run and gl.config.auto_update_feeds and self.minimized:
             self.update_feed_cache()
 
         next_update = 60*1000*gl.config.auto_update_frequency
_______________________________________________
gpodder-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-devel

Reply via email to