Enlightenment CVS committal

Author  : atmosphere
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        entrance_config.c entrance_session.c 


Log Message:
fix remembering users
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_config.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- entrance_config.c   7 Mar 2004 03:51:33 -0000       1.19
+++ entrance_config.c   7 Mar 2004 04:43:43 -0000       1.20
@@ -342,7 +342,7 @@
       for (i = 0, l = e->users.keys; l && i < e->users.remember_n;
            l = l->next, i++)
       {
-         if ((eu = (Entrance_User *) l->data))
+         if ((eu = evas_hash_find(e->users.hash, (char*)l->data)))
          {
             if (eu->name)
             {
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/src/client/entrance_session.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- entrance_session.c  7 Mar 2004 03:51:33 -0000       1.37
+++ entrance_session.c  7 Mar 2004 04:43:43 -0000       1.38
@@ -703,6 +703,8 @@
       snprintf(buf, PATH_MAX, "default.eet");
       if ((eu = entrance_user_new(e->auth->user, buf, e->session)))
       {
+         e->config->users.hash = evas_hash_add(e->config->users.hash,
+                                               eu->name, eu);
          e->config->users.keys =
             evas_list_prepend(e->config->users.keys, eu->name);
          entrance_config_user_list_write(e->config);




-------------------------------------------------------
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