diff options
| author | Mikael Magnusson <mikachu@comhem.se> | 2007-07-31 18:33:57 +0200 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-07-31 12:37:31 -0400 |
| commit | 7c7bfd770d4fa0d83324619110b4056b4434fe80 (patch) | |
| tree | 6d08e8d3940a9a444ef89614c0ba914d13f6a684 | |
| parent | 648e2b626f2a29a034bde668efc41c78142560a5 (diff) | |
Accept <command> in addition to <execute> for the restart action.
| -rw-r--r-- | openbox/actions/restart.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/openbox/actions/restart.c b/openbox/actions/restart.c index f7f1dfc0..fff0a87f 100644 --- a/openbox/actions/restart.c +++ b/openbox/actions/restart.c @@ -25,7 +25,9 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node) o = g_new0(Options, 1); - if ((n = parse_find_node("execute", 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); |
