From e7b263b99584930080f3ed48fbe42cab6aa30a07 Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Mon, 26 Dec 2016 17:29:24 +0100 Subject: [PATCH] Rename install button --- src/manjaro_hello.py | 6 +++--- ui/manjaro-hello.glade | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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