forked from enlightenment/efl
elementary/naviframe - patched by shilapaonkar singh (shilpa.singh@samsung.com)
Hi Mr. Park, Change description: [ commit message ] Bug: Hide signal sent twice in case of prev button, next button and icon swallow areas. Fix: Hide signal sent only once in delete callback. Thanks & Regards Shilpa Singh SVN revision: 65570
This commit is contained in:
parent
15468ff4d1
commit
fd6f69ca53
|
@ -652,14 +652,7 @@ _title_prev_btn_set(Elm_Naviframe_Item *it,
|
|||
evas_object_del(it->title_prev_btn);
|
||||
|
||||
it->title_prev_btn = btn;
|
||||
|
||||
if (!btn)
|
||||
{
|
||||
edje_object_signal_emit(VIEW(it),
|
||||
"elm,state,prev_btn,hide",
|
||||
"elm");
|
||||
return;
|
||||
}
|
||||
if (!btn) return;
|
||||
|
||||
elm_widget_sub_object_add(WIDGET(it), btn);
|
||||
evas_object_event_callback_add(btn,
|
||||
|
@ -682,14 +675,7 @@ _title_next_btn_set(Elm_Naviframe_Item *it, Evas_Object *btn)
|
|||
evas_object_del(it->title_next_btn);
|
||||
|
||||
it->title_next_btn = btn;
|
||||
|
||||
if (!btn)
|
||||
{
|
||||
edje_object_signal_emit(VIEW(it),
|
||||
"elm,state,next_btn,hide",
|
||||
"elm");
|
||||
return;
|
||||
}
|
||||
if (!btn) return;
|
||||
|
||||
elm_widget_sub_object_add(WIDGET(it), btn);
|
||||
evas_object_event_callback_add(btn,
|
||||
|
@ -711,14 +697,7 @@ _title_icon_set(Elm_Naviframe_Item *it, Evas_Object *icon)
|
|||
evas_object_del(it->icon);
|
||||
|
||||
it->icon = icon;
|
||||
|
||||
if (!icon)
|
||||
{
|
||||
edje_object_signal_emit(VIEW(it),
|
||||
"elm,state,icon,hide",
|
||||
"elm");
|
||||
return;
|
||||
}
|
||||
if (!icon) return;
|
||||
|
||||
elm_widget_sub_object_add(WIDGET(it), icon);
|
||||
evas_object_event_callback_add(icon,
|
||||
|
|
Loading…
Reference in New Issue