Enlightenment CVS committal

Author  : handyande
Project : misc
Module  : engage

Dir     : misc/engage/src/module


Modified Files:
        e_mod_main.c 


Log Message:
Don't lose sub icons when we change a .eapp
===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/module/e_mod_main.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- e_mod_main.c        25 Mar 2005 11:53:32 -0000      1.35
+++ e_mod_main.c        25 Mar 2005 12:29:19 -0000      1.36
@@ -389,13 +389,17 @@
             if (e_app_is_parent(e->apps, a))
               {
                  Engage_Icon *ic;
+                 Evas_List *extras;
 
                  e_box_freeze(eb->box_object);
                  ic = _engage_icon_find(eb, a);
+                 extras = ic->extra_icons;
+                 ic->extra_icons = NULL;
                  if (ic) _engage_icon_free(ic);
                  evas_image_cache_flush(eb->evas);
                  evas_image_cache_reload(eb->evas);
                  ic = _engage_icon_new(eb, a);
+                 ic->extra_icons = extras;
                  if (ic)
                    {
                       for (ll = e->apps->subapps; ll; ll = ll->next)




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to