From 8f08c8e981edec2473998fdda768b1d172b54dfb Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Mon, 26 Dec 2016 17:30:23 +0100 Subject: [PATCH] Rename read_page() to get_page() --- src/manjaro_hello.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index 1ef2139..71aff8c 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -159,7 +159,7 @@ class ManjaroHello(): # Load pages for page in ("readme", "release", "involved"): - self.builder.get_object(page + "label").set_markup(self.read_page(page)) + self.builder.get_object(page + "label").set_markup(self.get_page(page)) def set_autostart(self, autostart): """Set state of autostart. @@ -202,7 +202,7 @@ class ManjaroHello(): preferences = {"locale": None} return preferences - def read_page(self, name): + def get_page(self, name): """Read page according to language. :param name: name of page (filename) :type name: str