From 9017a5f4b3aed4d9bef19e42c4de74ab9bdd6bde Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Tue, 27 Dec 2016 10:23:28 +0100 Subject: [PATCH] Fix window blocking during a call --- src/manjaro_hello.py | 2 +- ui/manjaro-hello.glade | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 0cde8bf..0cdb7b4 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -250,7 +250,7 @@ class ManjaroHello(): """Event for differents actions.""" name = action.get_name() if name == "install": - subprocess.call(["sudo", "-E", "calamares"]) + subprocess.Popen(["sudo", "-E", "calamares"]) elif name == "autostart": autostart = True if action.get_active() else False self.set_autostart(autostart) diff --git a/ui/manjaro-hello.glade b/ui/manjaro-hello.glade index eb5082b..75cf670 100644 --- a/ui/manjaro-hello.glade +++ b/ui/manjaro-hello.glade @@ -5,7 +5,6 @@ False About - True dialog Manjaro Hello 0.3.1