This commit is contained in:
Marcos Pinto 2007-11-19 00:43:33 +00:00
parent 34e0a0e839
commit 7bdf7e9d1e
2 changed files with 2 additions and 2 deletions

View File

@ -707,7 +707,7 @@ of HD space! Oops!\nWe had to pause at least one torrent"))
if self.config.get("max_active_torrents") == 0: if self.config.get("max_active_torrents") == 0:
try: try:
self.config.set("max_active_torrents", \ self.config.set("max_active_torrents", \
self.config.get("max_active_torrents_tmp") self.config.get("max_active_torrents_tmp"))
except: except:
pass pass
self.apply_prefs() self.apply_prefs()

View File

@ -167,7 +167,7 @@ class DetailsTabManager(object):
else: else:
self.progress_bar.set_fraction(float(state['progress'])) self.progress_bar.set_fraction(float(state['progress']))
self.progress_bar.set_text(common.fpcnt(state["progress"])) self.progress_bar.set_text(common.fpcnt(state["progress"]))
self.eta.set_text(common.estimate_eta(state))
self.share_ratio.set_text( '%.3f' % self.manager.calc_ratio(unique_id, self.share_ratio.set_text( '%.3f' % self.manager.calc_ratio(unique_id,
state)) state))
self.torrent_path.set_text(self.manager.get_torrent_path(unique_id)) self.torrent_path.set_text(self.manager.get_torrent_path(unique_id))