X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Faction.c;h=7379c0ee980224c1f67468405bc6c5d78718f2f1;hb=3cbe368018ed5a2198e9e314bdd7338e4864886d;hp=dedf2c3b38aa19a0c5af302b8a965b1f45014ec5;hpb=0b4cd7a0cfd84e2ff9c8893b6bd4ca69460c0e34;p=chaz%2Fopenbox diff --git a/openbox/action.c b/openbox/action.c index dedf2c3b..7379c0ee 100644 --- a/openbox/action.c +++ b/openbox/action.c @@ -8,7 +8,6 @@ #include "frame.h" #include "screen.h" #include "action.h" -#include "dispatch.h" #include "openbox.h" #include @@ -705,13 +704,8 @@ ObAction *action_parse(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node) if ((n = parse_find_node("execute", node->xmlChildrenNode))) act->data.execute.path = parse_string(doc, n); } else if (act->func == action_showmenu) { - if ((n = parse_find_node("menu", node->xmlChildrenNode))) { - gchar *plugin; - + if ((n = parse_find_node("menu", node->xmlChildrenNode))) act->data.showmenu.name = parse_string(doc, n); - if (parse_attr_string("plugin", n, &plugin)) - menu_open_plugin(i, act->data.showmenu.name, plugin); - } } else if (act->func == action_desktop) { if ((n = parse_find_node("desktop", node->xmlChildrenNode))) act->data.desktop.desk = parse_int(doc, n);