Fix a off-by-one error in the update display

Thanks to Sampppa for pointing out the issue.
This commit is contained in:
Thomas Perl 2010-09-20 16:59:50 +02:00
parent dcce0dcc02
commit 6988d5fcbc

View file

@ -2802,7 +2802,7 @@ class gPodder(BuilderWidget, dbus.service.Object):
if gpodder.ui.fremantle:
util.idle_add(self.button_refresh.set_title, \
_('%(position)d/%(total)d updated') % {'position': updated, 'total': total})
_('%(position)d/%(total)d updated') % {'position': updated+1, 'total': total})
continue
# By the time we get here the update may have already been cancelled