[copypaste] make ctxpopup item unscrollable
authorMyungjae Lee <mjae.lee@samsung.com>
Tue, 8 Feb 2011 02:55:03 +0000 (11:55 +0900)
committerMyungjae Lee <mjae.lee@samsung.com>
Tue, 8 Feb 2011 02:55:03 +0000 (11:55 +0900)
src/modules/ctxpopup_copypasteUI/copypaste.c
src/modules/ctxpopup_copypasteshareUI/copypaste.c

index b095e7b..8272b1c 100644 (file)
@@ -164,7 +164,6 @@ obj_longpress(Evas_Object *obj)
                        ext_mod->popup = elm_ctxpopup_add(top);
                /*currently below theme not used,when guideline comes a new theme can be created if required*/
                elm_object_style_set(ext_mod->popup,"extended/entry");
-               elm_object_scroll_freeze_push(ext_mod->popup);
                context_menu_orientation = edje_object_data_get
                (ext_mod->ent, "context_menu_orientation");
                if ((context_menu_orientation) &&
@@ -234,6 +233,7 @@ obj_longpress(Evas_Object *obj)
                }
                if (ext_mod->popup)
                        {
+                               elm_object_scroll_freeze_push(ext_mod->popup);
                                _ctxpopup_position(obj);
                                evas_object_show(ext_mod->popup);                 
                        }
index fe6fb77..af9b442 100644 (file)
@@ -187,7 +187,6 @@ obj_longpress(Evas_Object *obj)
                        ext_mod->popup = elm_ctxpopup_add(top);
                /*currently below theme not used,when guideline comes a new theme can be created if required*/
                elm_object_style_set(ext_mod->popup,"extended/entry");
-               elm_object_scroll_freeze_push(ext_mod->popup);
                context_menu_orientation = edje_object_data_get
                (ext_mod->ent, "context_menu_orientation");
                if ((context_menu_orientation) &&
@@ -262,6 +261,7 @@ obj_longpress(Evas_Object *obj)
                }
                if (ext_mod->popup)
                        {
+                               elm_object_scroll_freeze_push(ext_mod->popup);
                                _ctxpopup_position(obj);
                                evas_object_show(ext_mod->popup);                 
                        }