make the prompt option default to 'true' for Exit and SessionLogout
This commit is contained in:
parent
4d09821730
commit
fc085fd66c
2 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
|
||||||
Options *o;
|
Options *o;
|
||||||
|
|
||||||
o = g_new0(Options, 1);
|
o = g_new0(Options, 1);
|
||||||
|
o->prompt = TRUE;
|
||||||
|
|
||||||
if ((n = parse_find_node("prompt", node)))
|
if ((n = parse_find_node("prompt", node)))
|
||||||
o->prompt = parse_bool(doc, n);
|
o->prompt = parse_bool(doc, n);
|
||||||
|
|
|
@ -27,6 +27,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
|
||||||
Options *o;
|
Options *o;
|
||||||
|
|
||||||
o = g_new0(Options, 1);
|
o = g_new0(Options, 1);
|
||||||
|
o->prompt = TRUE;
|
||||||
|
|
||||||
if ((n = parse_find_node("prompt", node)))
|
if ((n = parse_find_node("prompt", node)))
|
||||||
o->prompt = parse_bool(doc, n);
|
o->prompt = parse_bool(doc, n);
|
||||||
|
|
Loading…
Reference in a new issue