From: Carsten Haitzler Date: Thu, 24 May 2012 11:39:20 +0000 (+0000) Subject: fix systray size creep X-Git-Tag: submit/efl/20131021.015651~4952 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=317853d95c05ee68b78141687c44819ec37c4fcc;p=platform%2Fupstream%2Fenlightenment.git fix systray size creep SVN revision: 71411 --- diff --git a/src/modules/systray/e_mod_main.c b/src/modules/systray/e_mod_main.c index 0e69307..de5a511 100644 --- a/src/modules/systray/e_mod_main.c +++ b/src/modules/systray/e_mod_main.c @@ -183,7 +183,7 @@ static void _systray_size_apply_do(Instance *inst) { const Evas_Object *o; - Evas_Coord x, y, w, h; + Evas_Coord x, y, w, h, mw = 1, mh = 1; edje_object_message_signal_process(inst->ui.gadget); o = edje_object_part_object_get(inst->ui.gadget, _part_box); @@ -198,8 +198,8 @@ _systray_size_apply_do(Instance *inst) else ecore_x_window_show(inst->win.base); - e_gadcon_client_aspect_set(inst->gcc, w, h); - e_gadcon_client_min_size_set(inst->gcc, w, h); + edje_object_size_min_calc(inst->ui.gadget, &mw, &mh); + e_gadcon_client_min_size_set(inst->gcc, mw, mh); evas_object_geometry_get(o, &x, &y, &w, &h); ecore_x_window_move_resize(inst->win.base, x, y, w, h);