Fix tray icon tooltip to use less characters for windows
This commit is contained in:
parent
eb9ba43984
commit
70c384191a
|
@ -192,11 +192,9 @@ class SystemTray(component.Component):
|
|||
else:
|
||||
max_upload_speed = "%s KiB/s" % (max_upload_speed)
|
||||
|
||||
msg = '%s\n%s: %s (%s)\n%s: %s (%s)' % (
|
||||
_("Deluge Bittorrent Client"), _("Down Speed"),
|
||||
self.download_rate,
|
||||
max_download_speed, _("Up Speed"),
|
||||
self.upload_rate, max_upload_speed)
|
||||
msg = '%s\n%s: %s (%s)\n%s: %s (%s)' % (\
|
||||
_("Deluge"), _("Down"), self.download_rate, \
|
||||
max_download_speed, _("Up"), self.upload_rate, max_upload_speed)
|
||||
|
||||
# Set the tooltip
|
||||
self.tray.set_tooltip(msg)
|
||||
|
|
Loading…
Reference in New Issue