Small fix for list order in tray upload speed limit submenu

This commit is contained in:
Andrew Resch 2007-06-21 00:50:43 +00:00
parent 652639540f
commit 820d427a61
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ class DelugeGTK:
self.submenu_bwdownset.append(subitem) self.submenu_bwdownset.append(subitem)
group = None group = None
for value in self.config.get("tray_uploadspeedlist"): for value in sorted(self.config.get("tray_uploadspeedlist")):
subitem = gtk.RadioMenuItem(group, str(value) + " " + _("KiB/s")) subitem = gtk.RadioMenuItem(group, str(value) + " " + _("KiB/s"))
group = subitem group = subitem
if value == self.config.get("max_upload_rate"): if value == self.config.get("max_upload_rate"):