projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
648e2b6
)
Accept <command> in addition to <execute> for the restart action.
author
Mikael Magnusson
<mikachu@comhem.se>
Tue, 31 Jul 2007 16:33:57 +0000
(18:33 +0200)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 31 Jul 2007 16:37:31 +0000
(12:37 -0400)
openbox/actions/restart.c
patch
|
blob
|
history
diff --git
a/openbox/actions/restart.c
b/openbox/actions/restart.c
index
f7f1dfc
..
fff0a87
100644
(file)
--- 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);