mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
Label Plugin: Disable menu items for 'All' in sidebar
This commit is contained in:
parent
3c7f492451
commit
07e166b94a
@ -108,7 +108,7 @@ class LabelSidebarMenu(object):
|
|||||||
for item in self.items:
|
for item in self.items:
|
||||||
item.show()
|
item.show()
|
||||||
#default items
|
#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:
|
for item in self.items:
|
||||||
item.set_sensitive(sensitive)
|
item.set_sensitive(sensitive)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user