projects
/
dana
/
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
7e58fe7
..
caf1347
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);