fixed icon of autostart file

This commit is contained in:
Patrick Ulbrich
2014-06-21 14:59:44 +02:00
parent f1e9be514a
commit a07f7d2ec6

View File

@@ -273,15 +273,12 @@ class ConfigWindow:
curdir = os.getcwd()
# path to mailnag startscript
exec_file = os.path.join(curdir, "mailnagd")
# path to mailnag icon file (use abspath to translate a
# relative path like './data/mailnag.svg' to an absolute path).
icon_file = os.path.abspath(get_data_file("mailnag.svg"))
content = "\n" + \
"[Desktop Entry]\n" + \
"Type=Application\n" + \
"Exec=%s --quiet\n" % exec_file + \
"Icon=%s\n" % icon_file + \
"Icon=mailnag\n" + \
"Hidden=false\n" + \
"NoDisplay=false\n" + \
"X-GNOME-Autostart-enabled=true\n" + \