Enlightenment CVS committal

Author  : rephorm
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/lib


Modified Files:
        edje_util.c 


Log Message:

mark edjes as dirty when their color class is deleted

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_util.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -3 -r1.73 -r1.74
--- edje_util.c 17 Jan 2006 02:41:25 -0000      1.73
+++ edje_util.c 18 Jan 2006 00:43:55 -0000      1.74
@@ -231,6 +231,7 @@
 edje_color_class_del(const char *color_class)
 {
    Edje_Color_Class *cc;
+   Evas_List *members;
 
    if (!color_class) return;
 
@@ -240,6 +241,17 @@
    _edje_color_class_hash = evas_hash_del(_edje_color_class_hash, color_class, 
cc); 
    evas_stringshare_del(cc->name);
    free(cc);
+
+   members = evas_hash_find(_edje_color_class_member_hash, color_class);
+   while (members)
+     {
+       Edje *ed;
+
+       ed = members->data;
+       ed->dirty = 1;
+       _edje_recalc(ed);
+       members = members->next;
+     }
 }
 
 /**
@@ -394,6 +406,10 @@
             return;
          }
      }
+
+  ed = _edje_fetch(obj);
+       ed->dirty = 1;
+       _edje_recalc(ed);
 }
 
 /** Set the Edje text class




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to