Fix tray icon tooltip to use less characters for windows

This commit is contained in:
Andrew Resch 2008-07-15 03:16:06 +00:00
parent eb9ba43984
commit 70c384191a
1 changed files with 5 additions and 7 deletions

View File

@ -191,13 +191,11 @@ class SystemTray(component.Component):
max_upload_speed = _("Unlimited")
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)