From e70ba50a30b61a0458d7b107889f21d74bdd10ce Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 18 Sep 2017 08:30:44 +0200 Subject: [PATCH] [module/title] Use bumblebee.util.asbool function --- bumblebee/modules/title.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bumblebee/modules/title.py b/bumblebee/modules/title.py index ce09c36..1b5ac75 100644 --- a/bumblebee/modules/title.py +++ b/bumblebee/modules/title.py @@ -39,7 +39,7 @@ class Module(bumblebee.engine.Module): self._full_title = "n/a" 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) else: return self.focused_title(widget)