Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/ibox Modified Files: e_mod_main.c Log Message: Another netwm hint down! =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/ibox/e_mod_main.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- e_mod_main.c 18 May 2005 18:13:53 -0000 1.9 +++ e_mod_main.c 3 Jun 2005 11:41:20 -0000 1.10 @@ -474,7 +474,6 @@ char *str; Evas_Object *o; Evas_Coord bw, bh; - const char *file, *part; /* FIXME: Add default icon! */ if (!bd->icon_object) return NULL; @@ -505,11 +504,11 @@ "modules/ibox/icon"); evas_object_show(o); - o = edje_object_add(ibb->evas); - ic->icon_object = o; - edje_object_file_get(ic->border->icon_object, &file, &part); - edje_object_file_set(o, file, part); + o = e_border_icon_add(ic->border, ibb->evas); + evas_object_resize(o, ibb->ibox->conf->iconsize, ibb->ibox->conf->iconsize); + /* edje_extern_object_min_size_set(o, ibb->ibox->conf->iconsize, ibb->ibox->conf->iconsize); + */ edje_object_part_swallow(ic->bg_object, "item", o); edje_object_size_min_calc(ic->bg_object, &bw, &bh); evas_object_pass_events_set(o, 1); @@ -534,11 +533,13 @@ bw, bh /* max */ ); + /* str = (char *)edje_object_data_get(ic->icon_object, "raise_on_hilight"); if (str) { if (atoi(str) == 1) ic->raise_on_hilight = 1; } + */ edje_object_signal_emit(ic->bg_object, "passive", ""); edje_object_signal_emit(ic->overlay_object, "passive", ""); @@ -1233,7 +1234,9 @@ ic = l->data; o = ic->icon_object; + /* edje_extern_object_min_size_set(o, ibb->ibox->conf->iconsize, ibb->ibox->conf->iconsize); + */ evas_object_resize(o, ibb->ibox->conf->iconsize, ibb->ibox->conf->iconsize); ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs