Permalink
Browse files

Fix feed updating progress fraction

  • Loading branch information...
1 parent 8b6e55c commit baddf4b8f5e674561c008b70ad90273a87371971 @thp thp committed Oct 5, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gpodder/gui.py
View
@@ -2883,7 +2883,7 @@ def update_progress():
self.pbFeedUpdate.set_text(progression)
if self.tray_icon:
self.tray_icon.set_status(self.tray_icon.STATUS_UPDATING_FEED_CACHE, progression)
- self.pbFeedUpdate.set_fraction(float(updated)/float(total))
+ self.pbFeedUpdate.set_fraction(float(updated+1)/float(total))
util.idle_add(update_progress)
updated_urls = [c.url for c in channels]

0 comments on commit baddf4b

Please sign in to comment.