mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 20:14:51 +00:00
Fix display of speeds in the systemtray tooltip.
This commit is contained in:
parent
c8508c8d15
commit
44c82db9a8
1 changed files with 3 additions and 2 deletions
|
@ -127,8 +127,9 @@ class SystemTray(component.Component):
|
|||
|
||||
msg = '%s\n%s: %s (%s)\n%s: %s (%s)' % (\
|
||||
_("Deluge Bittorrent Client"), _("Down Speed"), \
|
||||
client.get_download_rate(), max_download_speed, _("Up Speed"), \
|
||||
client.get_upload_rate(), max_upload_speed)
|
||||
deluge.common.fspeed(client.get_download_rate()),
|
||||
max_download_speed, _("Up Speed"), \
|
||||
deluge.common.fspeed(client.get_upload_rate()), max_upload_speed)
|
||||
|
||||
# Set the tooltip
|
||||
self.tray.set_tooltip(msg)
|
||||
|
|
Loading…
Add table
Reference in a new issue