From 3d9e494efe2400d0190b2260a179aefc67fe1248 Mon Sep 17 00:00:00 2001 From: shilpa singh Date: Mon, 20 Sep 2010 16:34:39 +0900 Subject: [PATCH] removed fade animation from first page --- src/lib/elm_pager.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) mode change 100644 => 100755 src/lib/elm_pager.c diff --git a/src/lib/elm_pager.c b/src/lib/elm_pager.c old mode 100644 new mode 100755 index 0e74ebf..992ccca --- a/src/lib/elm_pager.c +++ b/src/lib/elm_pager.c @@ -135,14 +135,15 @@ _eval_top(Evas_Object *obj, Eina_Bool push) wd->top = ittop; o = wd->top->base; evas_object_show(o); - - if (wd->oldtop && wd->oldtop->popme) - edje_object_signal_emit(o, "elm,action,show", "elm"); - else - edje_object_signal_emit(o, "elm,action,push", "elm"); + if (!animate) edje_object_signal_emit(o, "elm,action,show,noanimate", "elm"); + else if (wd->oldtop && wd->oldtop->popme) + edje_object_signal_emit(o, "elm,action,show", "elm"); else + edje_object_signal_emit(o, "elm,action,push", "elm"); + + if(animate) { if(push) { -- 2.7.4