summaryrefslogtreecommitdiffstats
path: root/extra/kdelibs/kde-applications-menu.patch
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-10-27 14:45:19 +0200
committertnut <tnut at nutyx dot com>2011-10-27 14:45:19 +0200
commit7030b8a70e5f3020a8b810c2b6bfb27dd1e99401 (patch)
tree9cd9dca53a554da8c8bf8c34a375860dde5434e6 /extra/kdelibs/kde-applications-menu.patch
parentad51fdb8dfcab6f0962b9c22f8daa377122f9c73 (diff)
parentaf082fda5e6b2232227c9d489220c20423fb553b (diff)
downloadnutyx-pakxe-7030b8a70e5f3020a8b810c2b6bfb27dd1e99401.tar.gz
nutyx-pakxe-7030b8a70e5f3020a8b810c2b6bfb27dd1e99401.tar.bz2
nutyx-pakxe-7030b8a70e5f3020a8b810c2b6bfb27dd1e99401.tar.xz
nutyx-pakxe-7030b8a70e5f3020a8b810c2b6bfb27dd1e99401.zip
Merge branch 'master' of ssh://192.168.254.254:443/~/pakxe
Diffstat (limited to 'extra/kdelibs/kde-applications-menu.patch')
-rw-r--r--extra/kdelibs/kde-applications-menu.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/kdelibs/kde-applications-menu.patch b/extra/kdelibs/kde-applications-menu.patch
new file mode 100644
index 000000000..4b513298a
--- /dev/null
+++ b/extra/kdelibs/kde-applications-menu.patch
@@ -0,0 +1,22 @@
+--- kdelibs-4.3.98/kded/CMakeLists.txt 2009-10-02 14:55:17.000000000 +0000
++++ kdelibs-4.3.98/kded/CMakeLists.txt 2010-01-31 22:16:13.946933892 +0000
+@@ -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 )
+--- kdelibs-4.3.98/kded/kbuildsycoca.cpp 2009-12-04 23:10:18.000000000 +0000
++++ kdelibs-4.3.98/kded/kbuildsycoca.cpp 2010-01-31 22:16:13.962766572 +0000
+@@ -302,7 +302,7 @@
+ if (!m_trackId.isEmpty())
+ g_vfolder->setTrackId(m_trackId);
+
+- 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);