diff --git a/data/img/manjaro-hello.png b/data/img/manjaro-hello.png deleted file mode 100644 index be7d3e2..0000000 Binary files a/data/img/manjaro-hello.png and /dev/null differ diff --git a/manjaro-hello.desktop b/manjaro-hello.desktop index 29c9c85..d6d870e 100755 --- a/manjaro-hello.desktop +++ b/manjaro-hello.desktop @@ -5,5 +5,5 @@ Categories=GNOME;GTK;System; StartupNotify=false Name=Manjaro Hello Exec=/usr/bin/manjaro-hello.py -Icon=/usr/share/manjaro-hello/data/img/manjaro-hello.png +Icon=/usr/share/icons/manjaro.png Comment=The Manjaro Hello utility. diff --git a/src/manjaro-hello.py b/src/manjaro-hello.py index 03d3967..04fc722 100644 --- a/src/manjaro-hello.py +++ b/src/manjaro-hello.py @@ -46,7 +46,7 @@ class ManjaroHello(): self.config_path = os.path.expanduser("~") + "/.config/" self.preferences_path = self.config_path + self.app + ".json" self.autostart_path = self.config_path + "autostart/" + self.app + ".desktop" - self.logo_path = self.data_path + "img/manjaro-hello.png" + self.logo_path = "/usr/share/icons/manjaro.png" # Load preferences self.preferences = self.get_preferences() @@ -61,9 +61,10 @@ class ManjaroHello(): self.window = self.builder.get_object("window") # Load logos + logo = GdkPixbuf.Pixbuf.new_from_file_at_scale(self.logo_path, 75, 75, False) self.window.set_icon_from_file(self.logo_path) - self.builder.get_object("manjaroicon").set_from_file(self.logo_path) - self.builder.get_object("aboutdialog").set_logo(GdkPixbuf.Pixbuf.new_from_file(self.logo_path)) + self.builder.get_object("manjaroicon").set_from_pixbuf(logo) + self.builder.get_object("aboutdialog").set_logo(logo) # Init translation self.default_locale = "en_US"