Fix showing proper upload/download speed values in SystemTray.
This commit is contained in:
parent
d0b3418ccc
commit
def92cb735
@ -313,6 +313,10 @@ class SystemTray(component.Component):
|
|||||||
menu = gtk.Menu()
|
menu = gtk.Menu()
|
||||||
group = None
|
group = None
|
||||||
if show_activated is False:
|
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):
|
for value in sorted(value_list):
|
||||||
if suffix != None:
|
if suffix != None:
|
||||||
menuitem = gtk.RadioMenuItem(group, str(value) + " " + \
|
menuitem = gtk.RadioMenuItem(group, str(value) + " " + \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user