elementary/ctxpopup - removed restack test.
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 26 Dec 2011 04:10:46 +0000 (04:10 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 26 Dec 2011 04:10:46 +0000 (04:10 +0000)
need more proper test.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66506 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/test_ctxpopup.c

index afa0baa..4245c0e 100644 (file)
@@ -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,
-                       "<b>"
-                       "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."
-                       "</b>"
-                       );
-   evas_object_resize(lb, 200, 400);
-   evas_object_show(lb);
-
-   ecore_timer_add(1.5, _ctxpopup_raise_timer_cb, ctxpopup);
 }
 
 static void