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:
0f0b528
)
navigationbar - fixed a to_content_pop API logic error.
author
ChunEon Park
<chuneon.park@samsung.com>
Mon, 22 Aug 2011 04:02:49 +0000
(13:02 +0900)
committer
ChunEon Park
<chuneon.park@samsung.com>
Tue, 23 Aug 2011 00:44:40 +0000
(09:44 +0900)
When the top item is same with given parameter content,
then return rightly to avoid unnecessary procedure.
Change-Id: Ia50df41414ead4e7f1a4dbf8acfa65d78135d648
src/lib/elc_navigationbar.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_navigationbar.c
b/src/lib/elc_navigationbar.c
index
c64d147
..
5697e40
100644
(file)
--- a/
src/lib/elc_navigationbar.c
+++ b/
src/lib/elc_navigationbar.c
@@
-856,6
+856,9
@@
elm_navigationbar_to_content_pop(Evas_Object *obj, Evas_Object *content)
//find item to be popped and to be shown
it = prev_it = NULL;
ll = eina_list_last(wd->stack);
+
+ if (elm_navigationbar_content_top_get(obj) == content) return;
+
if (ll)
{
prev_it = ll->data;