Rename read_page() to get_page()

merge-requests/64/head
Hugo Posnic 2016-12-26 17:30:23 +01:00
parent e7b263b995
commit 8f08c8e981
1 changed files with 2 additions and 2 deletions

View File

@ -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