diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-07-13 11:37:10 -0400 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-07-13 11:37:10 -0400 |
| commit | 6ed8bd929d3b823c92d63e41d07ae361aa636c52 (patch) | |
| tree | e3806d9d90ac3492708f17924d9689e825dce110 /openbox | |
| parent | ddea4dcedd81d8890f85c4cd49e4c95ee5e8f01b (diff) | |
let you specify <command> or <execute> for execute actions - backwards compat
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/actions/execute.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c index 7e58fe7c..caf1347b 100644 --- a/openbox/actions/execute.c +++ b/openbox/actions/execute.c @@ -39,7 +39,9 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node) o = g_new0(Options, 1); - if ((n = parse_find_node("command", node))) { + if ((n = parse_find_node("command", node)) || + (n = parse_find_node("execute", node))) + { gchar *s = parse_string(doc, n); o->cmd = parse_expand_tilde(s); g_free(s); |
