diff options
author | Andreas Hüttel <dilfridge@gentoo.org> | 2011-06-10 21:37:58 +0000 |
---|---|---|
committer | Andreas Hüttel <dilfridge@gentoo.org> | 2011-06-10 21:37:58 +0000 |
commit | 7ea1fcb76204c1ed448728ed3440aa2b10a98d96 (patch) | |
tree | 743a6b6d7e1488860826ca729007dfe7e509ae99 /kde-base/kdelibs/files | |
parent | Remanifest as tarball was changed (diff) | |
download | historical-7ea1fcb76204c1ed448728ed3440aa2b10a98d96.tar.gz historical-7ea1fcb76204c1ed448728ed3440aa2b10a98d96.tar.bz2 historical-7ea1fcb76204c1ed448728ed3440aa2b10a98d96.zip |
Add missing patch, bug 371063
Package-Manager: portage-2.1.10.1/cvs/Linux x86_64
Diffstat (limited to 'kde-base/kdelibs/files')
-rw-r--r-- | kde-base/kdelibs/files/dist/01_gentoo_set_xdg_menu_prefix-1.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kde-base/kdelibs/files/dist/01_gentoo_set_xdg_menu_prefix-1.patch b/kde-base/kdelibs/files/dist/01_gentoo_set_xdg_menu_prefix-1.patch new file mode 100644 index 000000000000..228914fbb82c --- /dev/null +++ b/kde-base/kdelibs/files/dist/01_gentoo_set_xdg_menu_prefix-1.patch @@ -0,0 +1,18 @@ +Set XDG_MENU_PREFIX to kde-4- if not set. This fixes "empty-applications-menu" when running +KDE4 applications outside of KDE4 environment. + +Index: kded/vfolder_menu.cpp +=================================================================== +--- kded/vfolder_menu.cpp (revision 1014368) ++++ kded/vfolder_menu.cpp (working copy) +@@ -770,7 +770,9 @@ + QString result; + + QString xdgMenuPrefix = QString::fromLocal8Bit(qgetenv("XDG_MENU_PREFIX")); +- if (!xdgMenuPrefix.isEmpty()) ++ if (xdgMenuPrefix.isEmpty()) ++ xdgMenuPrefix = "kde-4-"; ++ + { + QFileInfo fileInfo(fileName); + |