From d08a88931dfd6f8f61867627a7978dd24d627bd9 Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Mon, 26 Dec 2016 21:03:58 +0100 Subject: [PATCH] Rename welcome page to home page --- src/manjaro_hello.py | 8 ++++---- ui/manjaro-hello.glade | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 3707fe7..b03405a 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -145,7 +145,7 @@ class ManjaroHello(): # TODO: Find a better solution elts = { "about": "tooltip_text", - "welcome": "tooltip_text", + "home": "tooltip_text", "welcometitle": "label", "welcomelabel": "label", "firstcategory": "label", @@ -256,10 +256,10 @@ class ManjaroHello(): def on_btn_clicked(self, btn): """Event for clicked button.""" name = btn.get_name() - if name == "welcome": - self.builder.get_object("welcome").set_sensitive(False) + if name == "home": + self.builder.get_object("home").set_sensitive(False) else: - self.builder.get_object("welcome").set_sensitive(True) + self.builder.get_object("home").set_sensitive(True) self.builder.get_object("stack").set_visible_child_name(name + "page") def on_link_clicked(self, link, _=None): diff --git a/ui/manjaro-hello.glade b/ui/manjaro-hello.glade index 9c80fcc..4b21c76 100644 --- a/ui/manjaro-hello.glade +++ b/ui/manjaro-hello.glade @@ -467,7 +467,7 @@ We, the Manjaro Developers, hope that you will enjoy using Manjaro as much as we - welcomepage + homepage @@ -485,8 +485,8 @@ We, the Manjaro Developers, hope that you will enjoy using Manjaro as much as we Manjaro Hello True - - welcome + + home True False True @@ -513,7 +513,7 @@ We, the Manjaro Developers, hope that you will enjoy using Manjaro as much as we - + about True True