Change position of links buttons icons

This commit is contained in:
Hugo Posnic 2016-12-22 22:29:26 +01:00
parent d219bbc3a1
commit d7ce6b1c3d

View File

@ -82,7 +82,8 @@ class ManjaroHello():
pixbuf = GdkPixbuf.Pixbuf.new_from_file(self.data_path + "img/external-link.png")
for btn in ("wiki", "forums", "chat", "mailling", "build", "donate"):
img = Gtk.Image.new_from_pixbuf(pixbuf)
img.set_margin_right(2)
img.set_margin_left(2)
self.builder.get_object(btn).set_image_position(Gtk.PositionType.RIGHT)
self.builder.get_object(btn).set_image(img)
# Set autostart switcher state