summaryrefslogtreecommitdiff
path: root/libre-testing/kdelibs-libre/kde-applications-menu.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-09-04 19:10:16 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-09-04 19:10:16 -0300
commit19469f01d27fb535ca0f50cbddb6ec66d2d43de4 (patch)
tree11e53652a337700f57145830726d9697378db38d /libre-testing/kdelibs-libre/kde-applications-menu.patch
parentcf1b80149c0931546cf6e2cbc4777e3d6c2847a2 (diff)
downloadabslibre-19469f01d27fb535ca0f50cbddb6ec66d2d43de4.tar.gz
abslibre-19469f01d27fb535ca0f50cbddb6ec66d2d43de4.tar.bz2
abslibre-19469f01d27fb535ca0f50cbddb6ec66d2d43de4.zip
kdelibs-libre-4.9.1-1: KDE 4.9.1
Diffstat (limited to 'libre-testing/kdelibs-libre/kde-applications-menu.patch')
-rw-r--r--libre-testing/kdelibs-libre/kde-applications-menu.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/libre-testing/kdelibs-libre/kde-applications-menu.patch b/libre-testing/kdelibs-libre/kde-applications-menu.patch
new file mode 100644
index 000000000..4b513298a
--- /dev/null
+++ b/libre-testing/kdelibs-libre/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);