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:
ddea4dc
)
let you specify <command> or <execute> for execute actions - backwards compat
author
Dana Jansens
<danakj@orodu.net>
Fri, 13 Jul 2007 15:37:10 +0000
(11:37 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 13 Jul 2007 15:37:10 +0000
(11:37 -0400)
openbox/actions/execute.c
patch
|
blob
|
history
diff --git
a/openbox/actions/execute.c
b/openbox/actions/execute.c
index 7e58fe7c7c0178ea9550d14b00f8de2853df1a52..caf1347b379ab8fa4f263a5a47641de296357986 100644
(file)
--- 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);