]> Dogcows Code - chaz/openbox/commitdiff
make the prompt option default to 'true' for Exit and SessionLogout
authorDana Jansens <danakj@orodu.net>
Sun, 2 Mar 2008 08:18:38 +0000 (03:18 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 2 Mar 2008 08:46:28 +0000 (03:46 -0500)
openbox/actions/exit.c
openbox/actions/session.c

index 19b78e9cb438c9bc6965e2611d24b91d9492f33c..747514f623dde81dbbc0ee0ae7f764818dadb79b 100644 (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);
index 0031a273db5371a0fbd20763fb393e1a8454aa6d..0117e07c97b06ab55baf3c9de6487139f6bfad83 100644 (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);
This page took 0.024396 seconds and 4 git commands to generate.