From c00262a3b8c38baf9e02b33932fb81e6244c5cb3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 8 Nov 2020 20:16:22 +0800 Subject: 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 --- kdcop/CMakeL10n.txt | 6 ++++++ kdcop/CMakeLists.txt | 1 + kdcop/kdcop.desktop | 13 +++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 kdcop/kdcop.desktop (limited to 'kdcop') 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 -- cgit v1.2.1