elc_naviframe: Hide preserved content after its item is popped.
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 30 May 2016 04:53:40 +0000 (13:53 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 30 May 2016 05:02:52 +0000 (14:02 +0900)
Previously, preserved content was shown unexpectedly after its naviframe
item was popped because the preserved content was not removed but was
unset from its naviframe item.

Since popped naviframe item becomes hidden on the screen, the preserved
content of the popped naviframe item should become hidden by default as
well.

src/lib/elementary/elc_naviframe.c

index 0728ece..3dd1bb1 100644 (file)
@@ -198,6 +198,7 @@ _item_free(Elm_Naviframe_Item_Data *it)
              elm_object_part_content_unset(VIEW(it), CONTENT_PART);
              evas_object_event_callback_del
                 (it->content, EVAS_CALLBACK_DEL, _item_content_del_cb);
+             evas_object_hide(it->content);
           }
      }
 }