Merge pull request #179 from fredj/title_asbool
[module/title] Use bumblebee.util.asbool function
This commit is contained in:
commit
dec651213e
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