diff options
author | Ken Moore <moorekou@gmail.com> | 2016-04-25 14:01:57 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-04-25 14:01:57 -0400 |
commit | 9b70ebf59625a9bad6199dbc13a37f3e3778534f (patch) | |
tree | bdc26d981f6121ff628802f306e2493c50b269d3 /src-qt5/desktop-utils | |
parent | Fix a couple other files which needed to account for the path changes. (diff) | |
download | lumina-9b70ebf59625a9bad6199dbc13a37f3e3778534f.tar.gz lumina-9b70ebf59625a9bad6199dbc13a37f3e3778534f.tar.bz2 lumina-9b70ebf59625a9bad6199dbc13a37f3e3778534f.zip |
Add a .desktop entry for lumina-textedit.
Diffstat (limited to 'src-qt5/desktop-utils')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/lumina-textedit.desktop | 10 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro | 6 |
2 files changed, 14 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.desktop b/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.desktop new file mode 100644 index 00000000..6e806323 --- /dev/null +++ b/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Exec=lumina-textedit %F +Icon=document-edit +Terminal=false +Type=Application +StartupNotify=true +Categories=Utility; +MimeType=text/plain;text/x-log; +Name=Lumina Text Editor +Comment=Plaintext editor with syntax highlighting diff --git a/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro b/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro index 6794af8e..35c74cb4 100644 --- a/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro +++ b/src-qt5/desktop-utils/lumina-textedit/lumina-textedit.pro @@ -89,9 +89,11 @@ TRANSLATIONS = i18n/lumina-textedit_af.ts \ dotrans.path=$${L_SHAREDIR}/Lumina-DE/i18n/ dotrans.extra=cd i18n && $${LRELEASE} -nounfinished *.ts && cp *.qm $(INSTALL_ROOT)$${L_SHAREDIR}/Lumina-DE/i18n/ -INSTALLS += target dotrans +desktop.files=lumina-textedit.desktop +desktop.path=$${L_SHAREDIR}/applications/ + +INSTALLS += target dotrans desktop NO_I18N{ INSTALLS -= dotrans } - |