]> Dogcows Code - chaz/openbox/commit
Allow loading of menu files outside of your XDG_CONFIG_HOME (Fix bug 5711)
authorDana Jansens <danakj@orodu.net>
Mon, 1 Oct 2012 01:23:58 +0000 (21:23 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 7 Oct 2012 01:56:56 +0000 (21:56 -0400)
commit51d735672c7a726655867b703d07e390781939de
treec6e05240503112e769a52ede152647222fe45672
parentdc4cfa94c9cd7bd30cdc87a6e4ab8174d8a9703f
Allow loading of menu files outside of your XDG_CONFIG_HOME (Fix bug 5711)

When the given file name can not be found in your XDG_CONFIG_HOME, ie in
 ~/.config/openbox, then try the file name directly.

This means if you specify a menu file such as "/home/dana/helloworld.xml",
openbox will try, in order:
1) ~/.config/openbox/home/dana/helloworld.xml
2) /home/dana/helloworld.xml

And it will load the file you meant when it tries the second one.
openbox/menu.c
This page took 0.02581 seconds and 4 git commands to generate.