]> Dogcows Code - chaz/openbox/blobdiff - openbox/menu.c
move expand_tilde to ob_expand_tilde in openbox.c to make it global.
[chaz/openbox] / openbox / menu.c
index cf405720ab211cab138ba8dd930a4a1ce973b6a2..8cc1c872f2c642fb36704fceff3ccde993406922 100644 (file)
@@ -203,7 +203,7 @@ static void parse_menu(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
 
         if ((menu = menu_new(name, title, NULL))) {
             if (parse_attr_string("execute", node, &script)) {
-                menu->execute = g_strdup(script);
+                menu->execute = ob_expand_tilde(script);
             } else {
                 state->menus = g_slist_prepend(state->menus, menu);
                 parse_tree(i, doc, node->xmlChildrenNode);
This page took 0.022632 seconds and 4 git commands to generate.