raster pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=0cd2ab1b52568aaead84042e69fe7cf9dd4e8399

commit 0cd2ab1b52568aaead84042e69fe7cf9dd4e8399
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Mar 6 18:53:57 2014 +0900

    fix ctxpopup getting min size from content immediately on set
    
    this isn't needed and will get recaulcated later when box calcs min
    size and sets min size hint.
    
    cherrypick-me @fix
---
 src/lib/elc_ctxpopup.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c
index 891fa49..979f622 100644
--- a/src/lib/elc_ctxpopup.c
+++ b/src/lib/elc_ctxpopup.c
@@ -808,12 +808,8 @@ _elm_ctxpopup_smart_content_set(Eo *obj, void *_pd, 
va_list *list)
    evas_object_size_hint_fill_set
      (content, EVAS_HINT_FILL, EVAS_HINT_FILL);
 
-   /* since it's going to be a box content, not a layout's... */
-   evas_object_show(content);
-
-   evas_object_size_hint_min_get(content, &min_w, &min_h);
-   evas_object_size_hint_min_set(sd->box, min_w, min_h);
    elm_box_pack_end(sd->box, content);
+   evas_object_show(content);
 
    sd->content = content;
    sd->dir = ELM_CTXPOPUP_DIRECTION_UNKNOWN;

-- 


Reply via email to