seoz pushed a commit to branch master.

commit 8ca658b2de9fa7c2b80645c19d00bade8bed893c
Author: Ryuan Choi <[email protected]>
Date:   Mon Apr 1 12:44:25 2013 +0900

    Set resize_obj when ELEMENTARY_WEB is enabled.
    
    This patch fixes that webview was not visible on 'web' of elementary_test.
---
 src/lib/elm_web.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/lib/elm_web.c b/src/lib/elm_web.c
index d994fc7..1365232 100644
--- a/src/lib/elm_web.c
+++ b/src/lib/elm_web.c
@@ -1133,13 +1133,11 @@ _elm_web_smart_add(Eo *obj, void *_pd, va_list *list 
EINA_UNUSED)
    resize_obj = _view_add(obj);
 #else
    resize_obj = elm_label_add(obj);
-   elm_widget_resize_object_set(obj, resize_obj);
-
-   elm_object_text_set
-     (resize_obj, "WebKit not supported!");
-   evas_object_show(resize_obj);
+   elm_object_text_set(resize_obj, "WebKit not supported!");
 #endif
 
+   elm_widget_resize_object_set(obj, resize_obj);
+
    eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
 
 #ifdef HAVE_ELEMENTARY_WEB

-- 

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d

Reply via email to