Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_embed.c ewl_iconbox.c 


Log Message:
* Fix an object-cache related select bug
* Sanitize the colour of evases pre-cache

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_embed.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ewl_embed.c 13 Nov 2005 06:48:55 -0000      1.20
+++ ewl_embed.c 13 Nov 2005 23:01:14 -0000      1.21
@@ -841,6 +841,9 @@
        DCHECK_PARAM_PTR("obj", obj);
        DCHECK_TYPE("e", e, "embed");
 
+       /*Sanitize the color of this evas pre-cache*/
+       evas_object_color_set(obj,255,255,255,255);
+
        evas_object_clip_unset(obj);
        evas_object_hide(obj);
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_iconbox.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -3 -r1.69 -r1.70
--- ewl_iconbox.c       13 Nov 2005 11:21:16 -0000      1.69
+++ ewl_iconbox.c       13 Nov 2005 23:01:14 -0000      1.70
@@ -893,7 +893,7 @@
                                ix = 
ewl_object_current_x_get(EWL_OBJECT(list_item));
                                iy = 
ewl_object_current_y_get(EWL_OBJECT(list_item));
                                
-                               if (ix >= lx && iy >= ly && ix <= hx && iy <= 
hy) {
+                               if (ix >= lx && iy >= ly && ix <= hx && iy <= 
hy && VISIBLE(EWL_WIDGET(list_item)) && !OBSCURED(EWL_WIDGET(list_item))) {
                                        
ewl_iconbox_icon_select(EWL_ICONBOX_ICON(list_item),0,0);
                                } else if (list_item->selected && 
!(ev->modifiers == EWL_KEY_MODIFIER_CTRL)) {
                                        
ewl_iconbox_icon_deselect(EWL_ICONBOX_ICON(list_item));




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to