elementar/naviframe - fixed to calc the pushed items also.
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Jul 2011 04:42:45 +0000 (04:42 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 13 Jul 2011 04:42:45 +0000 (04:42 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61315 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elc_naviframe.c

index 0a14d70..bcc3953 100644 (file)
@@ -125,13 +125,15 @@ _sizing_eval(Evas_Object *obj)
 {
    Widget_Data *wd;
    Eina_List *list;
+   Elm_Naviframe_Item *it;
    wd  = elm_widget_data_get(obj);
    if (!wd) return;
 
    list = eina_list_last(wd->stack);
    if (!list) return;
 
-   _item_sizing_eval(list->data);
+   EINA_LIST_FOREACH(wd->stack, list, it)
+     _item_sizing_eval(it);
 }
 
 static void