diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-29 07:57:18 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-29 07:57:18 +0000 |
| commit | 485fbff15da1a9001e610b3274747d76c1af57cb (patch) | |
| tree | 70871642b29b57911d2b77e2ecafa853e39fc861 /openbox/action.c | |
| parent | a9567a816385f8f66ed0f827bb4af78cdb10cd6d (diff) | |
remove plugins from the menu parsing
Diffstat (limited to 'openbox/action.c')
| -rw-r--r-- | openbox/action.c | 8 |
1 files changed, 1 insertions, 7 deletions
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 <glib.h> @@ -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); |
