After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 336747 - merged in .menu files are not merged in
merged in .menu files are not merged in
Status: RESOLVED NOTABUG
Product: gnome-menus
Classification: Core
Component: libgnome-menu
2.13.x
Other All
: Normal normal
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
Depends on:
Blocks:
 
 
Reported: 2006-03-31 16:17 UTC by Jack Neely
Modified: 2006-03-31 18:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
XML menu file (493 bytes, application/xml)
2006-03-31 16:19 UTC, Jack Neely
Details

Description Jack Neely 2006-03-31 16:17:54 UTC
Please describe the problem:
Per the menu spec I should be able to add .menu files to

   $XDG_CONFIG_DIRS/menus/applications-merged/

and have them get merged into the main applications menu on the desktop. 
However, I am not able to get this to function using 2.12 and 2.14.

In Fedora Core 5 the applications.menu file makes a comment about merging in
menus from "applications.d" I was not able to figure out where that directory
(and .menu file) was supposed to be to make things work.  I've tried
/etc/xdg/menus/applications.d and /etc/applications.d

The applications-merged directory does work in RHEL4, however, I think that's
still using the vfs menus.

Steps to reproduce:
1. Create, if it doesn't exist /etc/xdg/menus/applications-merged
2. In that directory add a .menu file to be merged into the main applications menu
3. Restart gnome, note that no changes have been made to the Applications menu


Actual results:
No changes at all are made to the applications menu.

Expected results:
The .menu file should be propperly merged into the menu structure as instructed
by the "<DefaultMergeDirs/>" XML code.

Does this happen every time?
Yes

Other information:
I will attach the .menu file I am trying to use.
Comment 1 Jack Neely 2006-03-31 16:19:17 UTC
Created attachment 62463 [details]
XML menu file

This is the .menu file I am attempting to merge in
Comment 2 Mark McLoughlin 2006-03-31 18:38:39 UTC
Your .menu file should begin with:

<Menu>
  <Name>Applications</name>
...

Each <Menu> should have a <Name> - sounds like RHEL4 didn't enforce that