mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
fix download rate setting
This commit is contained in:
parent
85d3c16c6d
commit
41c4669149
@ -189,9 +189,9 @@ class DelugeGTK:
|
||||
for value in sorted(self.config.get("tray_downloadspeedlist")):
|
||||
subitem = gtk.RadioMenuItem(group, str(value) + " " + _("KiB/s"))
|
||||
group = subitem
|
||||
self.submenu_bwdownset.append(subitem)
|
||||
if value == self.config.get("max_download_rate"):
|
||||
subitem.set_active(True)
|
||||
self.submenu_bwdownset.append(subitem)
|
||||
subitem.connect("toggled", self.tray_setbwdown)
|
||||
|
||||
subitem = gtk.RadioMenuItem(group, _("Unlimited"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user