Fix buttons' icons not showing

merge-requests/64/head
Hugo Posnic 2016-12-23 16:08:38 +01:00
parent db240693af
commit 4d34afa62b
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ class ManjaroHello():
img = Gtk.Image.new_from_file(self.data_path + "img/external-link.png")
img.set_margin_left(2)
self.builder.get_object(btn).set_image_position(Gtk.PositionType.RIGHT)
self.builder.get_object(btn).set_always_show_image(True)
self.builder.get_object(btn).set_image(img)
# Set autostart switcher state