elementary: sizing eval should be done before.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 5 Jul 2011 14:01:36 +0000 (14:01 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 5 Jul 2011 14:01:36 +0000 (14:01 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61052 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_notify.c

index f879e9a..a0241c1 100644 (file)
@@ -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