mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-04 17:15:34 +00:00
Fix showing proper upload/download speed values in SystemTray.
This commit is contained in:
parent
d0b3418ccc
commit
def92cb735
1 changed files with 4 additions and 0 deletions
|
@ -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) + " " + \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue