diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 6905223..1ef2139 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -96,7 +96,7 @@ class ManjaroHello(): # Live systems if self.infos["live"] and os.path.isfile("/usr/bin/calamares"): self.builder.get_object("installlabel").set_visible(True) - self.builder.get_object("installgui").set_visible(True) + self.builder.get_object("install").set_visible(True) self.window.show() @@ -148,7 +148,7 @@ class ManjaroHello(): "build": "label", "donate": "label", "installlabel": "label", - "installgui": "label", + "install": "label", "autostartlabel": "label", "aboutdialog": "comments" } @@ -227,7 +227,7 @@ class ManjaroHello(): def on_action_clicked(self, action, _=None): """Event for differents actions.""" name = action.get_name() - if name == "installgui": + if name == "install": subprocess.call(["sudo", "-E", "calamares"]) elif name == "autostart": autostart = True if action.get_active() else False diff --git a/ui/manjaro-hello.glade b/ui/manjaro-hello.glade index 2bf6ac1..47037aa 100644 --- a/ui/manjaro-hello.glade +++ b/ui/manjaro-hello.glade @@ -437,9 +437,9 @@ We, the Manjaro Developers, hope that you will enjoy using Manjaro as much as we - + Use Calamares (Graphic method) - installgui + install True True