From 45622bb3faf0afd499f3e76e2342f93bf6a4eec8 Mon Sep 17 00:00:00 2001 From: Jaehwan Kim Date: Thu, 18 Oct 2012 08:47:41 +0000 Subject: [PATCH] When the theme is changed, the min value should be set the min of edc newly. SVN revision: 78162 --- legacy/elementary/src/lib/elm_toolbar.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/legacy/elementary/src/lib/elm_toolbar.c b/legacy/elementary/src/lib/elm_toolbar.c index a54ec35b27..fee301e76e 100644 --- a/legacy/elementary/src/lib/elm_toolbar.c +++ b/legacy/elementary/src/lib/elm_toolbar.c @@ -831,15 +831,7 @@ _item_theme_hook(Evas_Object *obj, edje_object_size_min_restricted_calc(view, &mw, &mh, mw, mh); if (!it->separator && !it->object) elm_coords_finger_size_adjust(1, &mw, 1, &mh); - - evas_object_size_hint_min_get(view, &minw, &minh); - - if ((minw < mw) && (minh < mh)) - evas_object_size_hint_min_set(view, mw, mh); - else if ((minw < mw) && (minh > mh)) - evas_object_size_hint_min_set(view, mw, minh); - else if ((minw > mw) && (minh < mh)) - evas_object_size_hint_min_set(view, minw, mh); + evas_object_size_hint_min_set(view, mw, mh); } static void