Add icons for button links
parent
a490fa0b1d
commit
d219bbc3a1
Binary file not shown.
After Width: | Height: | Size: 220 B |
|
@ -79,6 +79,12 @@ class ManjaroHello():
|
||||||
for img in ("google+", "facebook", "twitter", "reddit"):
|
for img in ("google+", "facebook", "twitter", "reddit"):
|
||||||
self.builder.get_object(img).set_from_file(self.data_path + "img/" + img + ".png")
|
self.builder.get_object(img).set_from_file(self.data_path + "img/" + img + ".png")
|
||||||
|
|
||||||
|
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)
|
||||||
|
self.builder.get_object(btn).set_image(img)
|
||||||
|
|
||||||
# Set autostart switcher state
|
# Set autostart switcher state
|
||||||
self.autostart = os.path.isfile(self.autostart_path)
|
self.autostart = os.path.isfile(self.autostart_path)
|
||||||
self.builder.get_object("autostart").set_active(self.autostart)
|
self.builder.get_object("autostart").set_active(self.autostart)
|
||||||
|
|
Loading…
Reference in New Issue