Allow Ctrl+R when "No new episodes" is displayed

When the feed update has finished, and the Desktop
version of gPodder shows "No new episodes" in the
progress bar (and the "OK" button on it), the
keyboard shortcut Ctrl+R did not work, because the
menu item was disabled.
This commit is contained in:
Thomas Perl 2010-10-10 13:15:28 +02:00
parent 7d388c3f7d
commit a996a16b2b

View file

@ -2833,6 +2833,7 @@ class gPodder(BuilderWidget, dbus.service.Object):
self.feed_cache_update_cancelled = True
self.btnCancelFeedUpdate.show()
self.btnCancelFeedUpdate.set_sensitive(True)
self.itemUpdate.set_sensitive(True)
if gpodder.ui.maemo:
# btnCancelFeedUpdate is a ToolButton on Maemo
self.btnCancelFeedUpdate.set_stock_id(gtk.STOCK_APPLY)