From 24d36439c4db5252369a1e41b5288967a3832ac7 Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Sun, 19 Mar 2017 21:29:53 +0100 Subject: [PATCH] Fix #39 Thank's Jacobtey. --- src/manjaro_hello.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index cb30a4d..ac09578 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -136,6 +136,8 @@ class ManjaroHello(): except OSError: return + self.preferences["locale"] = locale + # Dirty code to fix an issue with gettext that can't translate strings from glade files # Redfining all translatables strings # TODO: Find a better solution @@ -179,7 +181,6 @@ class ManjaroHello(): label = child.get_children()[0].get_children()[0] label.set_markup(self.get_page(page)) - self.preferences["locale"] = locale def set_autostart(self, autostart): """Set state of autostart.