Enlightenment CVS committal Author : devilhorns Project : e_modules Module : mbar
Dir : e_modules/mbar Modified Files: e_mod_main.c Log Message: Watch for changes to label and update. =================================================================== RCS file: /cvs/e/e_modules/mbar/e_mod_main.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- e_mod_main.c 29 Mar 2006 00:25:58 -0000 1.8 +++ e_mod_main.c 29 Mar 2006 00:46:57 -0000 1.9 @@ -400,13 +400,15 @@ ic = _mbar_icon_new(mbb, a); if (ic) { + edje_object_part_text_set(ic->bg_object, "label", a->comment); for (ll = mb->apps->subapps; ll; ll = ll->next) { E_App *a2; a2 = ll->data; ic = _mbar_icon_find(mbb, a2); - if (ic) _mbar_icon_reorder_after(ic, NULL); + if (ic) + _mbar_icon_reorder_after(ic, NULL); } _mbar_bar_frame_resize(mbb); } @@ -418,7 +420,8 @@ MBar_Icon *ic; ic = _mbar_icon_find(mbb, a); - if (ic) _mbar_icon_free(ic); + if (ic) + _mbar_icon_free(ic); _mbar_bar_frame_resize(mbb); } break; @@ -428,19 +431,22 @@ MBar_Icon *ic; ic = _mbar_icon_find(mbb, a); - if (ic) _mbar_icon_free(ic); + if (ic) + _mbar_icon_free(ic); evas_image_cache_flush(mbb->evas); evas_image_cache_reload(mbb->evas); ic = _mbar_icon_new(mbb, a); if (ic) { + edje_object_part_text_set(ic->bg_object, "label", a->comment); for (ll = mb->apps->subapps; ll; ll = ll->next) { E_App *a2; a2 = ll->data; ic = _mbar_icon_find(mbb, a2); - if (ic) _mbar_icon_reorder_after(ic, NULL); + if (ic) + _mbar_icon_reorder_after(ic, NULL); } _mbar_bar_frame_resize(mbb); } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs