mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-07 08:58:38 +00:00
fix download rate setting
This commit is contained in:
parent
85d3c16c6d
commit
41c4669149
1 changed files with 6 additions and 6 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue