Merge pull request #27 from oberon2007/master

use icon from manjaro-icons package
This commit is contained in:
Hugo Posnic
2016-12-31 11:20:32 +01:00
committed by GitHub
3 changed files with 1 additions and 5 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

+1 -1
View File
@@ -5,7 +5,7 @@ Categories=GNOME;GTK;System;
StartupNotify=false StartupNotify=false
Name=Manjaro Hello Name=Manjaro Hello
Exec=/usr/bin/manjaro-hello Exec=/usr/bin/manjaro-hello
Icon=/usr/share/manjaro-hello/data/img/manjaro.png Icon=manjaro
Comment=A tool providing access to documentation and support for new Manjaro users. Comment=A tool providing access to documentation and support for new Manjaro users.
Comment[de]=Ein Tool für schnellen Zugriff auf Support und Dokumentation für neue Manjaro-Nutzer. Comment[de]=Ein Tool für schnellen Zugriff auf Support und Dokumentation für neue Manjaro-Nutzer.
Comment[es]=Una herramienta que provee acceso a la documentación y soporte para nuevos usuarios de Manjaro. Comment[es]=Una herramienta que provee acceso a la documentación y soporte para nuevos usuarios de Manjaro.
-4
View File
@@ -27,15 +27,11 @@ class ManjaroHello():
self.locale_path = "/usr/share/locale/" self.locale_path = "/usr/share/locale/"
self.ui_path = "/usr/share/" + self.app + "/ui/" self.ui_path = "/usr/share/" + self.app + "/ui/"
self.desktop_path = "/usr/share/applications/" + self.app + ".desktop" self.desktop_path = "/usr/share/applications/" + self.app + ".desktop"
if not hasattr(self, "logo_path"):
self.logo_path = "/usr/share/" + self.app + "/data/img/manjaro.png"
else: else:
self.data_path = "data/" self.data_path = "data/"
self.locale_path = "locale/" self.locale_path = "locale/"
self.ui_path = "ui/" self.ui_path = "ui/"
self.desktop_path = os.getcwd() + "/" + self.app + ".desktop" self.desktop_path = os.getcwd() + "/" + self.app + ".desktop"
if not hasattr(self, "logo_path"):
self.logo_path = "data/img/manjaro.png"
self.config_path = self.home_path + "/.config/" self.config_path = self.home_path + "/.config/"
self.preferences_path = self.config_path + self.app + ".json" self.preferences_path = self.config_path + self.app + ".json"
self.urls_path = self.data_path + "urls.json" self.urls_path = self.data_path + "urls.json"