mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
limit share ratio to 3 digits in details pane
This commit is contained in:
parent
c3f90c4f80
commit
286ff7dd9d
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ class DelugeGTK:
|
|||
self.text_summary_peers.set_text(dcommon.fpeer(state))
|
||||
self.wtree.get_widget("progressbar").set_fraction(float(state['progress']))
|
||||
self.wtree.get_widget("progressbar").set_text(dcommon.fpcnt(state["progress"]))
|
||||
self.text_summary_share_ratio.set_text(str(self.calc_share_ratio(self.get_selected_torrent(), state)))
|
||||
self.text_summary_share_ratio.set_text('%.3f'%(self.calc_share_ratio(self.get_selected_torrent(), state)))
|
||||
self.text_summary_downloaded_this_session.set_text(dcommon.fsize(state["total_download"]))
|
||||
self.text_summary_uploaded_this_session.set_text(dcommon.fsize(state["total_upload"]))
|
||||
self.text_summary_tracker.set_text(str(state["tracker"]))
|
||||
|
|
Loading…
Add table
Reference in a new issue