From 129ee7660300e36fb3d6552bb2942938ad6ccc38 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 --- ChangeLog | 4 ++++ NEWS | 1 + src/lib/elc_naviframe.c | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fa4492e..9b8d810 100644 --- a/ChangeLog +++ b/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/NEWS b/NEWS index 924ae0e..b52e5e3 100644 --- a/NEWS +++ b/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/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c index 365627f..aad7399 100644 --- a/src/lib/elc_naviframe.c +++ b/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; } -- 2.7.4