summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-05-09 19:05:10 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-05-09 19:56:16 +0200
commitb3928f85d5f291d620ad9924990235b2910556d0 (patch)
treeedb8b9234ed740d47c4e3db64b7c8ee4c0a66410 /CMakeLists.txt
parentd05fbc1deab85c8465666d61b3ecea48d764a46d (diff)
downloadtdebase-b3928f85d5f291d620ad9924990235b2910556d0.tar.gz
tdebase-b3928f85d5f291d620ad9924990235b2910556d0.zip
Kickoff menu: Adds a distribution-specific link in 'computer' tab
(cherry picked from commit 14cd57f54a9228241204e230df715139bf922fc5)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9339d248f..d36ee0ea8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -229,6 +229,27 @@ else()
message( STATUS "Selected man-db for kio-man on your system" )
endif()
+##### Checks for a distribution-specific 1st menu item, generally a control center
+if(EXISTS "/usr/share/applications/YaST.desktop")
+ set( KICKOFF_DIST_CONFIG_SHORTCUT1 "/usr/share/applications/YaST.desktop" )
+endif()
+if(EXISTS "/usr/share/applications/mageia-drakconf.desktop")
+ set( KICKOFF_DIST_CONFIG_SHORTCUT1 "/usr/share/applications/mageia-drakconf.desktop" )
+endif()
+if(EXISTS "/usr/share/applications/pclinuxos-drakconf.desktop")
+ set( KICKOFF_DIST_CONFIG_SHORTCUT1 "/usr/share/applications/pclinuxos-drakconf.desktop" )
+endif()
+if(EXISTS "/usr/share/applications/mandriva-drakconf.desktop")
+ set( KICKOFF_DIST_CONFIG_SHORTCUT1 "/usr/share/applications/mandriva-drakconf.desktop" )
+endif()
+
+##### Checks for a distribution-specific 2nd menu item, generally a shortcut to graphical package manager
+if(EXISTS "/usr/share/applications/package-manager.desktop")
+ set( KICKOFF_DIST_CONFIG_SHORTCUT2 "/usr/share/applications/package-manager.desktop" )
+endif()
+if(EXISTS "/usr/share/applications/rpmdrake.desktop")
+ set( KICKOFF_DIST_CONFIG_SHORTCUT2 "/usr/share/applications/rpmdrake.desktop" )
+endif()
##### write configure files #####################