mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
Index: b/kded/kbuildsycoca.cpp
|
|
===================================================================
|
|
--- a/kded/kbuildsycoca.cpp
|
|
+++ b/kded/kbuildsycoca.cpp
|
|
@@ -307,7 +307,7 @@
|
|
connect(g_vfolder, SIGNAL(newService(const QString &, KService::Ptr *)),
|
|
this, SLOT(slotCreateEntry(const QString &, KService::Ptr *)));
|
|
|
|
- VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("applications.menu", true);
|
|
+ VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("kde-applications.menu", true);
|
|
|
|
KServiceGroup::Ptr entry = g_bsgf->addNew("/", kdeMenu->directoryFile, KServiceGroup::Ptr(), false);
|
|
entry->setLayoutInfo(kdeMenu->layoutList);
|
|
Index: b/kded/CMakeLists.txt
|
|
===================================================================
|
|
--- a/kded/CMakeLists.txt
|
|
+++ b/kded/CMakeLists.txt
|
|
@@ -69,7 +69,7 @@
|
|
if (WIN32)
|
|
install( FILES applications.menu DESTINATION ${SHARE_INSTALL_PREFIX}/xdg/menus )
|
|
else (WIN32)
|
|
-install( FILES applications.menu DESTINATION ${SYSCONF_INSTALL_DIR}/xdg/menus )
|
|
+install( FILES applications.menu DESTINATION ${SYSCONF_INSTALL_DIR}/xdg/menus RENAME kde-applications.menu )
|
|
endif (WIN32)
|
|
install( FILES kdedmodule.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
|
|
install( FILES kded.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
|