forked from enlightenment/efl
elm_flip.c: set focus to the flip's content object when flip go to is called.
This commit is contained in:
parent
4db8363208
commit
df396c02f7
|
@ -1620,3 +1620,8 @@
|
||||||
2013-09-14 Daniel Juyung Seo (SeoZ)
|
2013-09-14 Daniel Juyung Seo (SeoZ)
|
||||||
|
|
||||||
* spinner : fixed arrow key focus movement bug.
|
* spinner : fixed arrow key focus movement bug.
|
||||||
|
|
||||||
|
2013-09-15 Daniel Juyung Seo (SeoZ)
|
||||||
|
|
||||||
|
* flip : set the focus to it's content object when flip go to is called
|
||||||
|
while flip is focused.
|
||||||
|
|
|
@ -136,6 +136,7 @@ Improvements:
|
||||||
* Popup: Support "language,changed" smart callback.
|
* Popup: Support "language,changed" smart callback.
|
||||||
* Add hide effect for notify.
|
* Add hide effect for notify.
|
||||||
* 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.
|
* 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.
|
||||||
|
* Flip now sets the focus to it's content object when flip go to is called while flip is focused.
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
* Now elm_datetime_field_limit_set() can set year limits wihtout problems.
|
* Now elm_datetime_field_limit_set() can set year limits wihtout problems.
|
||||||
|
|
|
@ -1979,6 +1979,13 @@ _elm_flip_go_to(Evas_Object *obj,
|
||||||
_configure(obj);
|
_configure(obj);
|
||||||
// FIXME: end hack
|
// FIXME: end hack
|
||||||
evas_object_smart_callback_call(obj, SIG_ANIMATE_BEGIN, NULL);
|
evas_object_smart_callback_call(obj, SIG_ANIMATE_BEGIN, NULL);
|
||||||
|
|
||||||
|
// set focus to the content object when flip go to is called
|
||||||
|
if (elm_object_focus_get(obj))
|
||||||
|
{
|
||||||
|
if (front) elm_object_focus_set(sd->front.content, EINA_TRUE);
|
||||||
|
else elm_object_focus_set(sd->back.content, EINA_TRUE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
|
|
Loading…
Reference in New Issue