Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/ibar Modified Files: e_mod_main.c Log Message: I have cleaned up app instance trackign a little. it's a bit complex really, but works better now, and e now falls back to lookign for startup info and app instances etc. to try find an icon, and finally uses the icon provided by the app itself (netwm icon only) :) =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibar/e_mod_main.c,v retrieving revision 1.74 retrieving revision 1.75 diff -u -3 -r1.74 -r1.75 --- e_mod_main.c 24 Sep 2005 13:42:05 -0000 1.74 +++ e_mod_main.c 26 Sep 2005 09:13:44 -0000 1.75 @@ -795,7 +795,9 @@ IBar_Icon *ic; ic = l->data; - if (ic->app == a) return ic; + if ((ic->app == a) || (ic->app->orig == a) || + (ic->app == a->orig) || (ic->app->orig == a->orig)) + return ic; } return NULL; } ------------------------------------------------------- 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