Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_container.c 


Log Message:


just numebr containers lineraly by creation

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_container.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -3 -r1.71 -r1.72
--- e_container.c       27 Jun 2005 10:08:53 -0000      1.71
+++ e_container.c       2 Jul 2005 05:22:58 -0000       1.72
@@ -47,6 +47,7 @@
    Evas_List *l, *screens;
    int i;
    Ecore_X_Window mwin;
+   static int container_num = 0;
    
    con = E_OBJECT_ALLOC(E_Container, E_CONTAINER_TYPE, _e_container_free);
    if (!con) return NULL;
@@ -99,7 +100,8 @@
    
    e_pointer_container_set(con);
 
-   con->num = evas_list_count(con->manager->containers) - 1;
+   con->num = container_num;
+   container_num++;
    snprintf(name, sizeof(name), _("Container %d"), con->num);
    con->name = strdup(name);
 




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to