projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52b950e
)
[navigationbar]: if hidden set is true, dont swallow.
author
shilpa singh
<shilpa.singh@samsung.com>
Thu, 14 Oct 2010 02:56:43 +0000
(11:56 +0900)
committer
shilpa singh
<shilpa.singh@samsung.com>
Thu, 14 Oct 2010 02:56:43 +0000
(11:56 +0900)
src/lib/elm_navigationbar.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_navigationbar.c
b/src/lib/elm_navigationbar.c
index
2fd31a6
..
1cced75
100644
(file)
--- a/
src/lib/elm_navigationbar.c
+++ b/
src/lib/elm_navigationbar.c
@@
-31,6
+31,7
@@
struct _Widget_Data
Evas_Object *base;
Evas_Object *pager;
Eina_Bool popped : 1;
+ Eina_Bool hidden :1;
};
struct _Item
@@
-260,7
+261,7
@@
_transition_complete_cb(void *data)
evas_object_hide(prev_it->fn_btn2);
evas_object_hide(prev_it->fn_btn3);
}
- if (
it
)
+ if (
(it)&&(!wd->hidden)
)
{
edje_object_part_text_set(wd->base, "elm.text", it->title);
if(!cb->first_page)
@@
-1234,6
+1235,7
@@
elm_navigationbar_hidden_set(Evas_Object *obj,
if (hidden) edje_object_signal_emit(wd->base, "elm,state,item,moveup", "elm");
else edje_object_signal_emit(wd->base, "elm,state,item,movedown", "elm");
+ wd->hidden = hidden;
}
/**