mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kded: prefix the applications menu with kde-
according to the spec it may be prefixed, if it is XDG_MENU_PREFIX must be exported (which matters not to Katana since the main application menu file is hardcoded anyway). for reference: https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
a4ac5fbb46
commit
890dfa808d
3 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ install(TARGETS kbuildsycoca4 ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|||
########### install files ###############
|
||||
|
||||
install(
|
||||
FILES applications.menu
|
||||
FILES kde-applications.menu
|
||||
DESTINATION ${KDE4_SYSCONF_INSTALL_DIR}/xdg/menus
|
||||
)
|
||||
|
||||
|
|
|
@ -307,7 +307,7 @@ bool KBuildSycoca::build()
|
|||
if (!m_trackId.isEmpty())
|
||||
g_vfolder->setTrackId(m_trackId);
|
||||
|
||||
VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("applications.menu");
|
||||
VFolderMenu::SubMenu *kdeMenu = g_vfolder->parseMenu("kde-applications.menu");
|
||||
|
||||
KServiceGroup::Ptr entry = g_buildServiceGroupFactory->addNew("/", kdeMenu->directoryFile, KServiceGroup::Ptr(), false);
|
||||
entry->setLayoutInfo(kdeMenu->layoutList);
|
||||
|
|
Loading…
Add table
Reference in a new issue