From ad2d9c3da02e5cd4aadc9a722bbb31f14c09afdb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 23 Feb 2016 11:30:27 +1000 Subject: [PATCH] Make sure the error window is actually shown Signed-off-by: Peter Hutterer --- piper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/piper.py b/piper.py index 6941096..0d237e7 100755 --- a/piper.py +++ b/piper.py @@ -19,6 +19,7 @@ class Piper(Gtk.Window): error.set_text(message) self.add(box) + self.show() def __init__(self): Gtk.Window.__init__(self, title="Piper") @@ -110,7 +111,7 @@ class Piper(Gtk.Window): try: ratbag = Ratbag() except RatbagDBusUnavailable: - return None + ratbag = None if ratbag == None: self._show_error("Can't connect to ratbagd on DBus. That's quite unfortunate.")