Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_fileselector.c ewl_misc.c 


Log Message:
Testing changes to the event freezing and thawing.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_fileselector.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -3 -r1.48 -r1.49
--- ewl_fileselector.c  2 Sep 2004 04:07:12 -0000       1.48
+++ ewl_fileselector.c  4 Sep 2004 04:14:50 -0000       1.49
@@ -286,10 +286,10 @@
        char *new_path;
        int l;
 
-       if ((!path) || (strlen(path) == 0))
+       if (!path || (l = strlen(path)) == 0)
                return NULL;
 
-       l = strlen(path) - 1;
+       l--;
        if (path[l] == '/')
                l--;
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_misc.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -3 -r1.83 -r1.84
--- ewl_misc.c  1 Sep 2004 05:20:06 -0000       1.83
+++ ewl_misc.c  4 Sep 2004 04:14:50 -0000       1.84
@@ -252,6 +252,8 @@
        if (ecore_list_is_empty(ewl_embed_list))
                DRETURN_INT(TRUE, DLEVEL_STABLE);
 
+       edje_freeze();
+
        /*
         * Clean out the unused widgets first, to avoid them being drawn or
         * unnecessary work done from configuration. Then display new widgets,
@@ -285,12 +287,9 @@
                if (REALIZED(emb) && emb->evas) {
                        evas_event_thaw(emb->evas);
                        evas_render(emb->evas);
-                       evas_event_freeze(emb->evas);
                }
        }
 
-       edje_freeze();
-
        DRETURN_INT(TRUE, DLEVEL_STABLE);
        data = NULL;
 }




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to