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 623197 - gmenu-simple-editor does not respect XDG_MENU_PREFIX env variable
gmenu-simple-editor does not respect XDG_MENU_PREFIX env variable
Status: RESOLVED FIXED
Product: gnome-menus
Classification: Core
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-menus dummy account
gnome-menus dummy account
Depends on:
Blocks:
 
 
Reported: 2010-06-30 10:14 UTC by Fab
Modified: 2010-06-30 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix gmenu-simple-editor to reflect XDG_MENU_PREFIX env variable (725 bytes, patch)
2010-06-30 10:14 UTC, Fab
none Details | Review

Description Fab 2010-06-30 10:14:47 UTC
Created attachment 164958 [details] [review]
fix gmenu-simple-editor to reflect XDG_MENU_PREFIX env variable

Hi,

I'm using gnome-menus-2.28.0.1.
In my environment, XDG_MENU_PREFIX is set to "gnome-".

Running /usr/bin/gmenu-simple-editor works fine, but this program fails to modify the menu because it ignores this variable.

I know that this behavior is also present in 2.26.x and probably in 2.30.x.
Please see attached patch. Works fine with it. Thanks.
Comment 1 Vincent Untz 2010-06-30 10:40:06 UTC
I pushed a slightly different fix, thanks!