From 520e3d5cbbc3e9bfbdca3366267bc2935061f4a7 Mon Sep 17 00:00:00 2001 From: cedric Date: Tue, 5 Jul 2011 14:01:36 +0000 Subject: [PATCH] elementary: sizing eval should be done before. git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@61052 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_notify.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c index f879e9a..a0241c1 100644 --- a/src/lib/elm_notify.c +++ b/src/lib/elm_notify.c @@ -332,6 +332,8 @@ _calc(Evas_Object *obj) Evas_Coord x, y, w, h; if (!wd) return; + _sizing_eval(obj); + evas_object_geometry_get(obj, &x, &y, &w, &h); edje_object_size_min_get(wd->notify, &minw, &minh); edje_object_size_min_restricted_calc(wd->notify, &minw, &minh, minw, minh); @@ -341,7 +343,6 @@ _calc(Evas_Object *obj) _notify_move_to_orientation(obj); evas_object_resize(wd->notify, minw, minh); } - _sizing_eval(obj); } static Eina_Bool -- 2.7.4