allow actions and chains at the same level
This commit is contained in:
parent
8c68c9ab0f
commit
a65b1d202f
1 changed files with 2 additions and 2 deletions
|
@ -283,13 +283,13 @@ static void parse_key(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||||
|
|
||||||
keylist = g_list_append(keylist, key);
|
keylist = g_list_append(keylist, key);
|
||||||
|
|
||||||
/* a node either contains actions or key bindings */
|
|
||||||
if ((n = parse_find_node("keybind", node->children))) {
|
if ((n = parse_find_node("keybind", node->children))) {
|
||||||
while (n) {
|
while (n) {
|
||||||
parse_key(i, doc, n, keylist);
|
parse_key(i, doc, n, keylist);
|
||||||
n = parse_find_node("keybind", n->next);
|
n = parse_find_node("keybind", n->next);
|
||||||
}
|
}
|
||||||
} else if ((n = parse_find_node("action", node->children))) {
|
}
|
||||||
|
if ((n = parse_find_node("action", node->children))) {
|
||||||
while (n) {
|
while (n) {
|
||||||
ObAction *action;
|
ObAction *action;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue