From 20ba3067487ec88a478781efd5f071110c440d4b Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Wed, 16 Dec 2020 17:17:33 -0800 Subject: [PATCH] set icons on stack switcher --- src/main.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.py b/src/main.py index c4d5b75..9a67859 100644 --- a/src/main.py +++ b/src/main.py @@ -147,14 +147,19 @@ class Application(Gtk.Application): if login_page is not None: self.stack.remove(login_page) + # TODO: find better icons unified = Timeline('unified') self.stack.add_titled(unified, "unified", "Timeline") + self.stack.child_set_property(unified, "icon-name", "user-home-symbolic") mentions = Timeline('mentions') self.stack.add_titled(mentions, "mentions", "Mentions") + self.stack.child_set_property(mentions, "icon-name", "preferences-system-notifications-symbolic") bookmarks = Timeline('bookmarks') self.stack.add_titled(bookmarks, "bookmarks", "Bookmarks") + self.stack.child_set_property(bookmarks, "icon-name", "user-bookmarks-symbolic") global_tl = Timeline('global') self.stack.add_titled(global_tl, "global", "Global") + self.stack.child_set_property(global_tl, "icon-name", "network-workgroup-symbolic") new_post_button = Gtk.Button.new_from_icon_name('list-add-symbolic', 1) new_post_button.connect('clicked', self.on_new_post)