From 7e575bab385d066507444074555deb7107d57377 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Fri, 8 Mar 2013 21:13:25 +0900 Subject: [PATCH] naviframe - remove the back button callback if the button is unset on the naviframe --- legacy/elementary/ChangeLog | 4 ++++ legacy/elementary/NEWS | 1 + legacy/elementary/src/lib/elc_naviframe.c | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/legacy/elementary/ChangeLog b/legacy/elementary/ChangeLog index fa4492e31f..9b8d810b08 100644 --- a/legacy/elementary/ChangeLog +++ b/legacy/elementary/ChangeLog @@ -1132,3 +1132,7 @@ 2013-03-08 Jaehwan Kim * Fix the toolbar cannot be unselected when it's mode is ELM_OBJECT_SELECT_MODE_ALWAYS. + +2013-03-08 ChunEon Park (Hermet) + + * Remove the back button callback if the button is unset on the naviframe. diff --git a/legacy/elementary/NEWS b/legacy/elementary/NEWS index 924ae0e7ce..b52e5e3904 100644 --- a/legacy/elementary/NEWS +++ b/legacy/elementary/NEWS @@ -178,6 +178,7 @@ Fixes: * Fix elm_conform didn't change indicator mode when create. * After elm_win is created, if there is no manual focus setting, only elm_win should get focus when focus state is changed. * Fix the toolbar cannot be unselected when it's mode is ELM_OBJECT_SELECT_MODE_ALWAYS. + * Remove the back button callback if the back button is unset on the naviframe. Removals: diff --git a/legacy/elementary/src/lib/elc_naviframe.c b/legacy/elementary/src/lib/elc_naviframe.c index 365627fa16..aad7399236 100644 --- a/legacy/elementary/src/lib/elc_naviframe.c +++ b/legacy/elementary/src/lib/elc_naviframe.c @@ -582,7 +582,8 @@ _item_title_prev_btn_unset(Elm_Naviframe_Item *it) evas_object_event_callback_del (content, EVAS_CALLBACK_DEL, _item_title_prev_btn_del_cb); - + evas_object_smart_callback_del(content, SIG_CLICKED, + _on_item_back_btn_clicked); it->title_prev_btn = NULL; return content; }