[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[core/elementary] master 01/01: [naviframe] Enable item pop during item push.



seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=db6be5cba076ff66dc58491972b30506d98f4df3

commit db6be5cba076ff66dc58491972b30506d98f4df3
Author: Jaehyun Cho <jae_hyun.cho@samsung.com>
Date:   Wed Sep 18 02:20:33 2013 +0900

    [naviframe] Enable item pop during item push.
    
    Enable item pop during item is pushing (during item push transition).
---
 src/lib/elc_naviframe.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index 5347fe8..95aab57 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -1663,10 +1663,11 @@ _item_pop(Eo *obj, void *_pd, va_list *list)
    it = (Elm_Naviframe_Item *)elm_naviframe_top_item_get(obj);
    if (!it) return;
 
-   if (it->animator || it->popping) return;
-
+   if (it->popping) return;
    it->popping = EINA_TRUE;
 
+   ELM_SAFE_FREE(it->animator, ecore_animator_del);
+
    if (it->pop_cb)
      {
         if (!it->pop_cb(it->pop_data, (Elm_Object_Item *)it))

--