From: hermet Date: Mon, 26 Dec 2011 04:10:46 +0000 (+0000) Subject: elementary/ctxpopup - removed restack test. X-Git-Tag: REL_F_I9500_20120323_1~17^2~1050 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2b93fd2cc9efde09ad56b48d1abc7a745e4449db;p=framework%2Fuifw%2Felementary.git elementary/ctxpopup - removed restack test. need more proper test. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66506 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/test_ctxpopup.c b/src/bin/test_ctxpopup.c index afa0baa..4245c0e 100644 --- a/src/bin/test_ctxpopup.c +++ b/src/bin/test_ctxpopup.c @@ -37,40 +37,10 @@ _print_current_dir(Evas_Object *obj) } } -static Eina_Bool -_ctxpopup_raise_timer_cb(void *data) -{ - printf("Timer Called\n"); - Evas_Object *ctxpopup = (Evas_Object *) data; - evas_object_raise(ctxpopup); - return EINA_FALSE; -} - static void _btn_clicked(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { printf("Button Clicked\n"); - Evas_Object *ctxpopup = (Evas_Object *) data; - Evas_Object *lb = elm_label_add(ctxpopup); - elm_label_line_wrap_set(lb, ELM_WRAP_CHAR); - elm_object_text_set(lb, - "" - "This is more text designed to line-wrap here as " - "This object is resized horizontally. As it is " - "resized vertically though, nothing should change. " - "The amount of space allocated vertically should " - "change as horizontal size changes." - "This is more text designed to line-wrap here as " - "This object is resized horizontally. As it is " - "resized vertically though, nothing should change. " - "The amount of space allocated vertically should " - "change as horizontal size changes." - "" - ); - evas_object_resize(lb, 200, 400); - evas_object_show(lb); - - ecore_timer_add(1.5, _ctxpopup_raise_timer_cb, ctxpopup); } static void