Make "no" a valid choice for the dialog option in cyclewindows.c.
It is the same as "none" for backward compatibility (it used to be a boolean).
This commit is contained in:
parent
5fdb5cb7dd
commit
8e4fcae64d
1 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,8 @@ static gpointer setup_func(xmlNodePtr node,
|
||||||
if ((n = obt_xml_find_node(node, "dialog"))) {
|
if ((n = obt_xml_find_node(node, "dialog"))) {
|
||||||
if (obt_xml_node_contains(n, "none"))
|
if (obt_xml_node_contains(n, "none"))
|
||||||
o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_NONE;
|
o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_NONE;
|
||||||
|
else if (obt_xml_node_contains(n, "no"))
|
||||||
|
o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_NONE;
|
||||||
else if (obt_xml_node_contains(n, "icons"))
|
else if (obt_xml_node_contains(n, "icons"))
|
||||||
o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_ICONS;
|
o->dialog_mode = OB_FOCUS_CYCLE_POPUP_MODE_ICONS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue