Loop to fill pages

merge-requests/64/head
Huluti 2016-12-04 22:46:31 +01:00
parent fb1cdcba0c
commit 71dfba8a63
1 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@ class ManjaroHello(Gtk.Window):
self.builder.get_object("headerbar").props.subtitle = self.infos["codename"] + " " + self.infos["release"] + " " + self.infos["arch"]
self.builder.get_object("readmetext").set_text(self.read_data("readme"))
self.builder.get_object("releasetext").set_text(self.read_data("release"))
self.builder.get_object("involvedtext").set_text(self.read_data("involved"))
# Initialize pages
for page in ("readme", "release", "involved"):
self.builder.get_object(page + "text").set_text(self.read_data(page))
self.builder.get_object("autostart").set_active(self.preferences["autostart"])