Fix showing proper upload/download speed values in SystemTray.

This commit is contained in:
Andrew Resch 2008-03-09 01:07:54 +00:00
commit def92cb735

View file

@ -313,6 +313,10 @@ class SystemTray(component.Component):
menu = gtk.Menu()
group = None
if show_activated is False:
if pref_value > -1 and pref_value not in value_list:
value_list.pop()
value_list.append(pref_value)
for value in sorted(value_list):
if suffix != None:
menuitem = gtk.RadioMenuItem(group, str(value) + " " + \