Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:belphegor_belbel:KDE3
kdelibs3
applications.menu-fallback.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File applications.menu-fallback.diff of Package kdelibs3
Index: kded/kbuildsycoca.cpp =================================================================== --- kded/kbuildsycoca.cpp.orig +++ kded/kbuildsycoca.cpp @@ -378,8 +378,12 @@ bool KBuildSycoca::build() connect(g_vfolder, SIGNAL(newService(const QString &, KService **)), this, SLOT(slotCreateEntry(const QString &, KService **))); - - VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("applications.menu", true); + + VFolderMenu::SubMenu *kdeMenu; + if ( QFile::exists( "/etc/xdg/menus/applications.menu" ) ) + kdeMenu = g_vfolder->parseMenu("applications.menu", true); + else + kdeMenu = g_vfolder->parseMenu("applications.menu.kde", true); KServiceGroup *entry = g_bsgf->addNew("/", kdeMenu->directoryFile, 0, false); entry->setLayoutInfo(kdeMenu->layoutList);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor