Parse all the actions in a single menu item

This commit is contained in:
Dana Jansens 2011-10-15 15:45:27 -04:00
parent 63fcce3791
commit 1d2da703ec

View 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);