From 927a788208c98b0d40f13f8f133c6df1c35416f4 Mon Sep 17 00:00:00 2001 From: Hugo Posnic Date: Fri, 23 Dec 2016 14:05:04 +0100 Subject: [PATCH] Change way to load external link icon --- src/manjaro_hello.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/manjaro_hello.py b/src/manjaro_hello.py index cdfea35..20126a9 100644 --- a/src/manjaro_hello.py +++ b/src/manjaro_hello.py @@ -79,9 +79,8 @@ class ManjaroHello(): for img in ("google+", "facebook", "twitter", "reddit"): 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 = 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_image(img)