From ef472022219c878686720a2c13c8aa80093736ee Mon Sep 17 00:00:00 2001 From: shilpa singh Date: Fri, 5 Nov 2010 00:31:54 +0530 Subject: [PATCH] [navigationbar]: focus allow set made to FALSE for all buttons same as back button, similar fix applied to all buttons. --- src/lib/elm_navigationbar.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) mode change 100644 => 100755 src/lib/elm_navigationbar.c diff --git a/src/lib/elm_navigationbar.c b/src/lib/elm_navigationbar.c old mode 100644 new mode 100755 index 56cc4bf..a7f4918 --- a/src/lib/elm_navigationbar.c +++ b/src/lib/elm_navigationbar.c @@ -395,6 +395,7 @@ _button_set(Evas_Object *obj, Evas_Object *prev_btn, Evas_Object *new_btn, Eina_ elm_object_style_set(new_btn, buf); } elm_widget_sub_object_add(obj, new_btn); + elm_object_focus_allow_set(new_btn, EINA_FALSE); changed = TRUE; } return changed; @@ -568,7 +569,6 @@ elm_navigationbar_push(Evas_Object *obj, ll = ll->prev; prev_it = NULL; } - it->obj = obj; it->fn_btn1 = fn_btn1; it->fn_btn2 = fn_btn2; @@ -580,7 +580,6 @@ elm_navigationbar_push(Evas_Object *obj, char *prev_title = NULL; it->back_btn = elm_button_add(obj); - elm_object_focus_allow_set(it->back_btn, EINA_FALSE); prev_title = (char *)prev_it->title; if(prev_title) { @@ -672,7 +671,6 @@ elm_navigationbar_pop(Evas_Object *obj) it = ll->data; } } - //unswallow items and start trasition Transit_Cb_Data *cb = ELM_NEW(Transit_Cb_Data); if (prev_it && it) -- 2.7.4