summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-11-08 20:16:22 +0800
committerMichele Calgaro <[email protected]>2020-11-08 20:25:52 +0800
commitc00262a3b8c38baf9e02b33932fb81e6244c5cb3 (patch)
tree7f29c8f95fbf524b7cd405c0b1a51734144f6f1f
parentc66a63ac725271d35b8be47cd5d84860aeea59e4 (diff)
downloadtdebase-c00262a3b8c38baf9e02b33932fb81e6244c5cb3.tar.gz
tdebase-c00262a3b8c38baf9e02b33932fb81e6244c5cb3.zip
Added KDCOP to TDE menu - System. This relates to bug 2886.
This is a modified and extended version of commit 25555aa75. Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--kdcop/CMakeL10n.txt6
-rw-r--r--kdcop/CMakeLists.txt1
-rw-r--r--kdcop/kdcop.desktop13
3 files changed, 20 insertions, 0 deletions
diff --git a/kdcop/CMakeL10n.txt b/kdcop/CMakeL10n.txt
index 5ec992d03..0320cfdf2 100644
--- a/kdcop/CMakeL10n.txt
+++ b/kdcop/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kdcop" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kdcop.desktop/"
+ SOURCES kdcop.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kdcop/CMakeLists.txt b/kdcop/CMakeLists.txt
index 70f19988b..5e2add8a7 100644
--- a/kdcop/CMakeLists.txt
+++ b/kdcop/CMakeLists.txt
@@ -24,6 +24,7 @@ link_directories(
##### other data ################################
install( FILES kdcopui.rc DESTINATION ${DATA_INSTALL_DIR}/kdcop )
+tde_create_translated_desktop( kdcop.desktop )
##### kdcop (executable) ########################
diff --git a/kdcop/kdcop.desktop b/kdcop/kdcop.desktop
new file mode 100644
index 000000000..5dbb1ab7a
--- /dev/null
+++ b/kdcop/kdcop.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Type=Application
+Exec=kdcop
+Icon=enhanced_browsing
+Terminal=false
+X-DocPath=kdcop/index.html
+X-TDE-StartupNotify=true
+X-DCOP-ServiceType=Multi
+Categories=Qt;TDE;System;
+
+Name=KDCOP
+
+GenericName=DCOP browser