elm_pager - fixed noanimate pop problem
authorChunEon Park <chuneon.park@samsung.com>
Wed, 8 Jun 2011 10:57:26 +0000 (19:57 +0900)
committerChunEon Park <chuneon.park@samsung.com>
Wed, 8 Jun 2011 10:57:26 +0000 (19:57 +0900)
this is caused when merged with opensource.

src/lib/elm_pager.c

index 642a0c4..25ab9b4 100644 (file)
@@ -185,7 +185,8 @@ _eval_top(Evas_Object *obj)
              if(wd->disable_animation)
                {
                   edje_object_signal_emit(o, "elm,action,hide,noanimate", "elm");
-                  wd->stack = eina_list_remove(wd->stack, wd->top);
+                  if (wd->top->popme)
+                    wd->stack = eina_list_remove(wd->stack, wd->top);
                }
              else if (wd->top->popme)
                {