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 3c7f492451
commit 07e166b94a

View File

@ -108,7 +108,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)