summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-09-16 00:14:50 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-09-16 00:22:30 +0900
commit43ce72a8bc870d01f31c973ce4cd8e3f19e208a6 (patch)
tree4f23919cc70263cdc5c17ee9e51536051540ddab
parent875c53d2a0795ab4a9c59dbd3292839717a0d375 (diff)
elm_flip.c: set focus to the flip's content object when flip go to is called.
-rw-r--r--ChangeLog5
-rw-r--r--NEWS1
-rw-r--r--src/lib/elm_flip.c7
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e4d978097..dde64e4ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1620,3 +1620,8 @@
16202013-09-14 Daniel Juyung Seo (SeoZ) 16202013-09-14 Daniel Juyung Seo (SeoZ)
1621 1621
1622 * spinner : fixed arrow key focus movement bug. 1622 * spinner : fixed arrow key focus movement bug.
1623
16242013-09-15 Daniel Juyung Seo (SeoZ)
1625
1626 * flip : set the focus to it's content object when flip go to is called
1627 while flip is focused.
diff --git a/NEWS b/NEWS
index ffd4a8739..73be6e947 100644
--- a/NEWS
+++ b/NEWS
@@ -136,6 +136,7 @@ Improvements:
136 * Popup: Support "language,changed" smart callback. 136 * Popup: Support "language,changed" smart callback.
137 * Add hide effect for notify. 137 * Add hide effect for notify.
138 * Widget: Improve performance in applying widget theme. It prevents applying themes more strictly if it tries to apply same theme. This increases the performance hugely in case that user applies a specific theme to the window object. 138 * Widget: Improve performance in applying widget theme. It prevents applying themes more strictly if it tries to apply same theme. This increases the performance hugely in case that user applies a specific theme to the window object.
139 * Flip now sets the focus to it's content object when flip go to is called while flip is focused.
139 140
140Fixes: 141Fixes:
141 * Now elm_datetime_field_limit_set() can set year limits wihtout problems. 142 * Now elm_datetime_field_limit_set() can set year limits wihtout problems.
diff --git a/src/lib/elm_flip.c b/src/lib/elm_flip.c
index eefe4a71f..a6a662305 100644
--- a/src/lib/elm_flip.c
+++ b/src/lib/elm_flip.c
@@ -1979,6 +1979,13 @@ _elm_flip_go_to(Evas_Object *obj,
1979 _configure(obj); 1979 _configure(obj);
1980 // FIXME: end hack 1980 // FIXME: end hack
1981 evas_object_smart_callback_call(obj, SIG_ANIMATE_BEGIN, NULL); 1981 evas_object_smart_callback_call(obj, SIG_ANIMATE_BEGIN, NULL);
1982
1983 // set focus to the content object when flip go to is called
1984 if (elm_object_focus_get(obj))
1985 {
1986 if (front) elm_object_focus_set(sd->front.content, EINA_TRUE);
1987 else elm_object_focus_set(sd->back.content, EINA_TRUE);
1988 }
1982} 1989}
1983 1990
1984EAPI void 1991EAPI void