From: Dana Jansens Date: Sat, 15 Oct 2011 19:45:27 +0000 (-0400) Subject: Parse all the actions in a single menu item X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1d2da703ec19d5994e6c08f182ac5c0558a0564e;p=chaz%2Fopenbox Parse all the actions in a single menu item --- diff --git a/openbox/menu.c b/openbox/menu.c index daea0b65..1294c4c9 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -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);