From 30ee7fb17011c646abeb0ba3fa7e6410f7cfe17b Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Sun, 11 Mar 2012 17:44:15 +0000 Subject: [PATCH] Label Plugin: Disable menu items for 'All' in sidebar --- deluge/plugins/Label/deluge/plugins/label/gtkui/sidebar_menu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/plugins/Label/deluge/plugins/label/gtkui/sidebar_menu.py b/deluge/plugins/Label/deluge/plugins/label/gtkui/sidebar_menu.py index c489ebb9f..b33e2e949 100644 --- a/deluge/plugins/Label/deluge/plugins/label/gtkui/sidebar_menu.py +++ b/deluge/plugins/Label/deluge/plugins/label/gtkui/sidebar_menu.py @@ -112,7 +112,7 @@ class LabelSidebarMenu(object): for item in self.items: item.show() #default items - sensitive = ((label not in (NO_LABEL, None, "")) and (cat != "cat")) + sensitive = ((label not in (NO_LABEL, None, "", "All")) and (cat != "cat")) for item in self.items: item.set_sensitive(sensitive)