Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_filelist_column.c ewl_filelist_icon.c 


Log Message:
- check for null chars

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_column.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- ewl_filelist_column.c       14 Sep 2006 05:35:38 -0000      1.17
+++ ewl_filelist_column.c       7 Nov 2006 03:15:04 -0000       1.18
@@ -461,7 +461,7 @@
 
        stock = ewl_filelist_stock_icon_get(fl, path);
        img = ewl_icon_theme_icon_path_get(stock, NULL);
-       ewl_icon_image_set(EWL_ICON(icon), img, stock); 
+       if (img) ewl_icon_image_set(EWL_ICON(icon), img, stock); 
 
        ewl_container_child_append(EWL_CONTAINER(data), icon);
        ewl_widget_show(icon);
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_filelist_icon.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_filelist_icon.c 14 Sep 2006 05:35:38 -0000      1.11
+++ ewl_filelist_icon.c 7 Nov 2006 03:15:04 -0000       1.12
@@ -268,7 +268,7 @@
 
        stock = ewl_filelist_stock_icon_get(fl, path);
        img = ewl_icon_theme_icon_path_get(stock, NULL);
-       ewl_icon_image_set(EWL_ICON(icon), img, stock); 
+       if (img) ewl_icon_image_set(EWL_ICON(icon), img, stock); 
 
        ewl_container_child_append(EWL_CONTAINER(list->freebox), icon);
        ewl_widget_show(icon);



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to