naviframe: Fix to show/hide item view.
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 5 Oct 2016 08:30:42 +0000 (17:30 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 5 Oct 2016 09:12:09 +0000 (18:12 +0900)
Naviframe item view did not become visible if top item view is deleted
by elm_object_item_del().
To resolve this problem, program for "elm,state,visible" is fixed and
"elm,state,invisible" is added.

data/elementary/themes/edc/elm/naviframe.edc

index 950ab1e..c0f5134 100644 (file)
@@ -544,10 +544,15 @@ group { name: "elm/naviframe/item/basic/default";
       program {
          signal: "elm,state,visible"; source: "elm";
          action: STATE_SET "default" 0.0;
-         target: "elm.swallow.content";
          target: "elements_clip";
+         target: "base";
       }
-      
+      program {
+         signal: "elm,state,invisible"; source: "elm";
+         action: STATE_SET "hidden" 0.0;
+         target: "elements_clip";
+      }
+
       /* current page is being pushed: [previous]<----[current] */
       program {
          signal: "elm,state,cur,pushed"; source: "elm";