diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-07-28 11:38:53 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2008-01-20 01:36:55 -0500 |
| commit | 07d5674d3984d008de1ecc768a296afbed731e4e (patch) | |
| tree | 4390ac212b5ad00430c6328972e0180808a7eb2e /openbox/menu.c | |
| parent | 1a0a1626b699c2e272ea6823b59aa7387242880e (diff) | |
move the xdg path stuff into obt/paths.[ch], and make render and openbox use it
Diffstat (limited to 'openbox/menu.c')
| -rw-r--r-- | openbox/menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/menu.c b/openbox/menu.c index a78aa4da..768630bd 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -35,6 +35,7 @@ #include "client_list_combined_menu.h" #include "gettext.h" #include "obt/parse.h" +#include "obt/paths.h" typedef struct _ObMenuParseState ObMenuParseState; @@ -314,7 +315,7 @@ static void parse_menu(xmlNodePtr node, gpointer data) if ((menu = menu_new(name, title, TRUE, NULL))) { menu->pipe_creator = state->pipe_creator; if (obt_parse_attr_string(node, "execute", &script)) { - menu->execute = parse_expand_tilde(script); + menu->execute = obt_paths_expand_tilde(script); } else { ObMenu *old; |
