[module/title] Use bumblebee.util.asbool function
This commit is contained in:
parent
e079c07363
commit
e70ba50a30
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Module(bumblebee.engine.Module):
|
||||||
self._full_title = "n/a"
|
self._full_title = "n/a"
|
||||||
|
|
||||||
def get_title(self, widget):
|
def get_title(self, widget):
|
||||||
if self.parameter("scroll", "False").lower() == "true":
|
if bumblebee.util.asbool(self.parameter("scroll", False)):
|
||||||
return self.scrolling_focused_title(widget)
|
return self.scrolling_focused_title(widget)
|
||||||
else:
|
else:
|
||||||
return self.focused_title(widget)
|
return self.focused_title(widget)
|
||||||
|
|
Loading…
Reference in a new issue