Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_icon.c
Log Message:
- patch from Nick Hughart (mekius_) to fix warning when setting alt text.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_icon.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ewl_icon.c 8 Oct 2006 17:26:22 -0000 1.20
+++ ewl_icon.c 17 Nov 2006 05:53:31 -0000 1.21
@@ -494,7 +494,7 @@
* alt text */
img = ewl_icon_theme_icon_path_get(EWL_ICON_IMAGE_LOADING, NULL);
file = ewl_icon_image_file_get(icon);
- if (!icon->image || !strcmp(img, file))
+ if (icon->image && !strcmp(img, file))
{
ewl_widget_hide(icon->image);
ewl_widget_show(icon->alt);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs