Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        entrance_config.c 


Log Message:
Actually check for reboot/halt options

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_config.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- entrance_config.c   25 Jul 2003 05:20:02 -0000      1.6
+++ entrance_config.c   17 Sep 2003 05:52:47 -0000      1.7
@@ -128,6 +128,10 @@
    /* auth info */
    if (!e_db_int_get(db, "/entrance/auth", &(e->auth)))
       e->auth = 0;
+   if (!e_db_int_get(db, "/entrance/system/reboot", &(e->reboot.allow)))
+       e->reboot.allow = 0;
+   if (!e_db_int_get(db, "/entrance/system/halt", &(e->halt.allow)))
+       e->halt.allow = 0;
 
    if (e->auth != ENTRANCE_USE_PAM)
    {




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to