make the prompt option default to 'true' for Exit and SessionLogout

This commit is contained in:
Dana Jansens 2008-03-02 03:18:38 -05:00
parent 4d09821730
commit fc085fd66c
2 changed files with 2 additions and 0 deletions

View file

@ -21,6 +21,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
Options *o;
o = g_new0(Options, 1);
o->prompt = TRUE;
if ((n = parse_find_node("prompt", node)))
o->prompt = parse_bool(doc, n);

View file

@ -27,6 +27,7 @@ static gpointer setup_func(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node)
Options *o;
o = g_new0(Options, 1);
o->prompt = TRUE;
if ((n = parse_find_node("prompt", node)))
o->prompt = parse_bool(doc, n);