diff options
author | Francois Andriot <[email protected]> | 2013-05-09 19:05:10 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-05-09 19:05:10 +0200 |
commit | 14cd57f54a9228241204e230df715139bf922fc5 (patch) | |
tree | a60c77bffddc3a4cc1c807c048c06e016f5c0b20 /kicker | |
parent | 8e144348bbcc8b259094e20a62b3b7b9becd6178 (diff) | |
download | tdebase-14cd57f54a9228241204e230df715139bf922fc5.tar.gz tdebase-14cd57f54a9228241204e230df715139bf922fc5.zip |
Kickoff menu: Adds a distribution-specific link in 'computer' tab
Diffstat (limited to 'kicker')
-rw-r--r-- | kicker/kicker/ui/k_new_mnu.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kicker/kicker/ui/k_new_mnu.cpp b/kicker/kicker/ui/k_new_mnu.cpp index e2ecf40cb..24d751a33 100644 --- a/kicker/kicker/ui/k_new_mnu.cpp +++ b/kicker/kicker/ui/k_new_mnu.cpp @@ -1342,6 +1342,15 @@ void KMenu::insertStaticItems() m_systemView->insertSeparator( nId++, i18n("Applications"), index++); +#ifdef KICKOFF_DIST_CONFIG_SHORTCUT1 + KService::Ptr kdcs1 = KService::serviceByStorageId(KICKOFF_DIST_CONFIG_SHORTCUT1); + m_systemView->insertMenuItem(kdcs1, nId++, index++); +#endif +#ifdef KICKOFF_DIST_CONFIG_SHORTCUT2 + KService::Ptr kdcs2 = KService::serviceByStorageId(KICKOFF_DIST_CONFIG_SHORTCUT2); + m_systemView->insertMenuItem(kdcs2, nId++, index++); +#endif + KService::Ptr p = KService::serviceByStorageId("KControl.desktop"); m_systemView->insertMenuItem(p, nId++, index++); |