Mercurial > libervia-backend
comparison frontends/src/primitivus/primitivus @ 1165:ca15fb1abbc4
primitivus: added disable_mouse config option /!\ minimal Urwid version is now 1.2.0
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 04 Sep 2014 20:30:57 +0200 |
parents | af395a6f2551 |
children | ca8ce5a47969 |
comparison
equal
deleted
inserted
replaced
1164:af395a6f2551 | 1165:ca15fb1abbc4 |
---|---|
240 self.loop.set_alarm_in(0,lambda a,b: self.postInit()) | 240 self.loop.set_alarm_in(0,lambda a,b: self.postInit()) |
241 self.loop.run() | 241 self.loop.run() |
242 | 242 |
243 def postInit(self): | 243 def postInit(self): |
244 try: | 244 try: |
245 config.applyConfig() | 245 config.applyConfig(self) |
246 except Exception as e: | 246 except Exception as e: |
247 log.error("configuration error: {}".format(e)) | 247 log.error("configuration error: {}".format(e)) |
248 popup = sat_widgets.Alert(_("Configuration Error"), _("Something went wrong while reading the configuration, please check :messages"), ok_cb=self.removePopUp) | 248 popup = sat_widgets.Alert(_("Configuration Error"), _("Something went wrong while reading the configuration, please check :messages"), ok_cb=self.removePopUp) |
249 if self.options.profile: | 249 if self.options.profile: |
250 self._early_popup = popup | 250 self._early_popup = popup |