Label Plugin: Disable menu items for 'All' in sidebar
This commit is contained in:
parent
8010f2fcc1
commit
30ee7fb170
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue