if ((act = actions_build_act_from_string(name)))
/* there is more stuff to parse here */
if (act->def->setup)
- act->options = act->def->setup(node->xmlChildrenNode);
+ act->options = act->def->setup(node->children);
g_free(name);
}
if ((n = obt_parse_find_node(node, "finalactions"))) {
xmlNodePtr m;
- m = obt_parse_find_node(n->xmlChildrenNode, "action");
+ m = obt_parse_find_node(n->children, "action");
while (m) {
ObActionsAct *action = actions_parse(m);
if (action) o->actions = g_slist_prepend(o->actions, action);
if ((n = obt_parse_find_node(node, "finalactions"))) {
xmlNodePtr m;
- m = obt_parse_find_node(n->xmlChildrenNode, "action");
+ m = obt_parse_find_node(n->children, "action");
while (m) {
ObActionsAct *action = actions_parse(m);
if (action) o->actions = g_slist_prepend(o->actions, action);
if ((n = obt_parse_find_node(node, "startupnotify"))) {
xmlNodePtr m;
- if ((m = obt_parse_find_node(n->xmlChildrenNode, "enabled")))
+ if ((m = obt_parse_find_node(n->children, "enabled")))
o->sn = obt_parse_node_bool(m);
- if ((m = obt_parse_find_node(n->xmlChildrenNode, "name")))
+ if ((m = obt_parse_find_node(n->children, "name")))
o->sn_name = obt_parse_node_string(m);
- if ((m = obt_parse_find_node(n->xmlChildrenNode, "icon")))
+ if ((m = obt_parse_find_node(n->children, "icon")))
o->sn_icon = obt_parse_node_string(m);
- if ((m = obt_parse_find_node(n->xmlChildrenNode, "wmclass")))
+ if ((m = obt_parse_find_node(n->children, "wmclass")))
o->sn_wmclass = obt_parse_node_string(m);
}
return o;
if ((n = obt_parse_find_node(node, "then"))) {
xmlNodePtr m;
- m = obt_parse_find_node(n->xmlChildrenNode, "action");
+ m = obt_parse_find_node(n->children, "action");
while (m) {
ObActionsAct *action = actions_parse(m);
if (action) o->thenacts = g_slist_prepend(o->thenacts, action);
if ((n = obt_parse_find_node(node, "else"))) {
xmlNodePtr m;
- m = obt_parse_find_node(n->xmlChildrenNode, "action");
+ m = obt_parse_find_node(n->children, "action");
while (m) {
ObActionsAct *action = actions_parse(m);
if (action) o->elseacts = g_slist_prepend(o->elseacts, action);