Enlightenment CVS committal

Author  : jethomas
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_callback.c ewl_filelist_model.c 


Log Message:
Do as the comment says! Should fix the last problems with focusing in dialogs 
and trees (bug 355).

Add safety check.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_callback.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- ewl_callback.c      6 Dec 2007 03:40:45 -0000       1.38
+++ ewl_callback.c      8 Jan 2008 23:57:27 -0000       1.39
@@ -481,7 +481,10 @@
        parent = w->parent;
        while (parent) {
                if (EWL_CALLBACK_FLAGS(parent, t) & EWL_CALLBACK_NOTIFY_NOTIFY)
+               {
                        top = parent;
+                       break;
+               }
                parent = parent->parent;
        }
 
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_model.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ewl_filelist_model.c        17 Dec 2007 01:37:29 -0000      1.10
+++ ewl_filelist_model.c        8 Jan 2008 23:57:27 -0000       1.11
@@ -50,6 +50,8 @@
        ecore_list_free_cb_set(dirs, ECORE_FREE_CB(free_file));
 
        all_files = ecore_file_ls(path);
+       if (!all_files)
+               DRETURN_PTR(NULL, DLEVEL_STABLE);
 
        /* Add in the ".." entry for now */
        if ((show_dot_dot) && (strcmp(path, "/")))



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to