Revert "[contrib/progress] allow hiding of inactive state"
This reverts commit cbd989309d
.
This commit is contained in:
parent
6a3e4761bf
commit
5ad211f862
2 changed files with 2 additions and 2 deletions
|
@ -229,7 +229,7 @@ class i3(object):
|
|||
for widget in module.widgets():
|
||||
if widget.module and self.__config.autohide(widget.module.name):
|
||||
if not any(
|
||||
state in widget.state() for state in ["warning", "critical", "mayhide"]
|
||||
state in widget.state() for state in ["warning", "critical"]
|
||||
):
|
||||
continue
|
||||
if module.hidden():
|
||||
|
|
|
@ -102,7 +102,7 @@ class Module(core.module.Module):
|
|||
def state(self, widget):
|
||||
if self.__active:
|
||||
return "copying"
|
||||
return ["pending", "mayhide"]
|
||||
return "pending"
|
||||
|
||||
|
||||
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
|
||||
|
|
Loading…
Reference in a new issue