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
commit cee850be8d
3 changed files with 1 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

View File

@ -5,7 +5,7 @@ Categories=GNOME;GTK;System;
StartupNotify=false
Name=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[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.

View File

@ -27,15 +27,11 @@ class ManjaroHello():
self.locale_path = "/usr/share/locale/"
self.ui_path = "/usr/share/" + self.app + "/ui/"
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:
self.data_path = "data/"
self.locale_path = "locale/"
self.ui_path = "ui/"
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.preferences_path = self.config_path + self.app + ".json"
self.urls_path = self.data_path + "urls.json"