From 820d427a61633ed42a3aec05d6bc4c1c90c2487d Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 21 Jun 2007 00:50:43 +0000 Subject: [PATCH] Small fix for list order in tray upload speed limit submenu --- src/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interface.py b/src/interface.py index db6ed4ead..4423a462d 100644 --- a/src/interface.py +++ b/src/interface.py @@ -207,7 +207,7 @@ class DelugeGTK: self.submenu_bwdownset.append(subitem) 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")) group = subitem if value == self.config.get("max_upload_rate"):