Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        entrance_edit.c 


Log Message:
fix
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_edit.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- entrance_edit.c     15 Mar 2004 21:56:20 -0000      1.2
+++ entrance_edit.c     16 Mar 2004 16:03:03 -0000      1.3
@@ -548,7 +548,8 @@
          ecco_users_list_init(ecco.container.users);
       }
 
-      if (ecco.config->users.keys && ecco.config->users.keys->data)
+      if (!ecco.current_user && ecco.config->users.keys
+          && ecco.config->users.keys->data)
       {
 
          if ((ecco.current_user =
@@ -583,7 +584,8 @@
       {
          ecco_sessions_list_init(ecco.container.sessions);
       }
-      if (ecco.config->sessions.keys && ecco.config->sessions.keys->data)
+      if (!ecco.current_session && ecco.config->sessions.keys
+          && ecco.config->sessions.keys->data)
       {
          if ((ecco.current_session =
               evas_hash_find(ecco.config->sessions.hash,
@@ -1880,6 +1882,7 @@
    ecco.focus.signal = NULL;
    ecco.scroll_timer = NULL;
    ecco.current_user = NULL;
+   ecco.current_session = NULL;
 
    /* Basic ecore initialization */
    if (!ecore_init())




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to