summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/elc_naviframe.c22
1 files changed, 6 insertions, 16 deletions
diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index 9c9047538..13bd0ff8f 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -172,15 +172,10 @@ _item_content_signals_emit(Elm_Naviframe_Item *it)
172 EINA_INLIST_FOREACH(it->content_list, content_pair) 172 EINA_INLIST_FOREACH(it->content_list, content_pair)
173 { 173 {
174 if (edje_object_part_swallow_get(VIEW(it), content_pair->part)) 174 if (edje_object_part_swallow_get(VIEW(it), content_pair->part))
175 { 175 snprintf(buf, sizeof(buf), "elm,state,%s,show", content_pair->part);
176 snprintf(buf, sizeof(buf), "elm,state,%s,show", content_pair->part);
177 edje_object_signal_emit(VIEW(it), buf, "elm");
178 }
179 else 176 else
180 { 177 snprintf(buf, sizeof(buf), "elm,state,%s,hide", content_pair->part);
181 snprintf(buf, sizeof(buf), "elm,state,%s,hide", content_pair->part); 178 edje_object_signal_emit(VIEW(it), buf, "elm");
182 edje_object_signal_emit(VIEW(it), buf, "elm");
183 }
184 } 179 }
185} 180}
186 181
@@ -203,15 +198,10 @@ _item_text_signals_emit(Elm_Naviframe_Item *it)
203 EINA_INLIST_FOREACH(it->text_list, text_pair) 198 EINA_INLIST_FOREACH(it->text_list, text_pair)
204 { 199 {
205 if (edje_object_part_text_get(VIEW(it), text_pair->part)) 200 if (edje_object_part_text_get(VIEW(it), text_pair->part))
206 { 201 snprintf(buf, sizeof(buf), "elm,state,%s,show", text_pair->part);
207 snprintf(buf, sizeof(buf), "elm,state,%s,show", text_pair->part);
208 edje_object_signal_emit(VIEW(it), buf, "elm");
209 }
210 else 202 else
211 { 203 snprintf(buf, sizeof(buf), "elm,state,%s,hide", text_pair->part);
212 snprintf(buf, sizeof(buf), "elm,state,%s,hide", text_pair->part); 204 edje_object_signal_emit(VIEW(it), buf, "elm");
213 edje_object_signal_emit(VIEW(it), buf, "elm");
214 }
215 } 205 }
216} 206}
217 207