summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeL10n.txt7
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/tastymenu.desktop8
3 files changed, 12 insertions, 7 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index 8368157..535ca38 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
-tde_l10n_create_template( "tastymenu" )
+tde_l10n_create_template( "messages/tastymenu" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/tastymenu-desktops"
+ SOURCES *.desktop
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1b8feb0..6de7d61 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -61,8 +61,8 @@ tde_add_kpart( tastymenu_panelapplet AUTOMOC
##### other data
-install(
- FILES tastymenu.desktop
+tde_create_translated_desktop(
+ SOURCE tastymenu.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
)
diff --git a/src/tastymenu.desktop b/src/tastymenu.desktop
index 25fe241..2db95dc 100644
--- a/src/tastymenu.desktop
+++ b/src/tastymenu.desktop
@@ -1,10 +1,10 @@
[Desktop Entry]
-Type=Plugin
-Encoding=UTF-8
-Comment=A TMenu replacement
-
Name=Tasty Menu
+Comment=A TMenu replacement
+
+Type=Plugin
Icon=kmenu
+Encoding=UTF-8
X-TDE-Library=tastymenu_panelapplet
X-TDE-UniqueApplet = false