]> Dogcows Code - chaz/openbox/commitdiff
Parse all the actions in a single menu item
authorDana Jansens <danakj@orodu.net>
Sat, 15 Oct 2011 19:45:27 +0000 (15:45 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 15 Oct 2011 19:50:10 +0000 (15:50 -0400)
openbox/menu.c

index daea0b65e12d025f3261ae45de0c96edb9752b0f..1294c4c95600d7b4bd18b79e7545bb0f575efdac 100644 (file)
@@ -287,7 +287,7 @@ static void parse_menu_item(xmlNodePtr node,  gpointer data)
                 ObActionsAct *action = actions_parse(c);
                 if (action)
                     acts = g_slist_append(acts, action);
-                c = obt_xml_find_node(node->next, "action");
+                c = obt_xml_find_node(c->next, "action");
             }
             e = menu_add_normal(state->parent, -1, label, acts, TRUE);
             
This page took 0.024254 seconds and 4 git commands to generate.