Label Plugin: Disable menu items for 'All' in sidebar

This commit is contained in:
Calum Lind 2012-03-11 17:44:15 +00:00
parent 8010f2fcc1
commit 30ee7fb170
1 changed files with 1 additions and 1 deletions

View File

@ -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)