projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad2bd57
)
elementary/elm_widget : When elm_widget_sub_object_del is called with
author
WooHyun Jung
<woohyun0705@gmail.com>
Sat, 19 Nov 2011 03:47:27 +0000
(
03:47
+0000)
committer
WooHyun Jung
<woohyun0705@gmail.com>
Sat, 19 Nov 2011 03:47:27 +0000
(
03:47
+0000)
focused sub-object, focus should be reverted back to the latest focused object.
SVN revision: 65399
src/lib/elm_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_widget.c
b/src/lib/elm_widget.c
index c8de2258d27f1a4c294f29e5c329737850054f3c..532c69b85d22a4e6281bb7acb48ac33c00bd7c96 100644
(file)
--- a/
src/lib/elm_widget.c
+++ b/
src/lib/elm_widget.c
@@
-994,7
+994,11
@@
elm_widget_sub_object_del(Evas_Object *obj,
}
else
sd->subobjs = eina_list_remove(sd->subobjs, sobj);
- if (elm_widget_focus_get(sobj)) _unfocus_parents(obj);
+ if (elm_widget_focus_get(sobj))
+ {
+ elm_widget_tree_unfocusable_set(sobj, EINA_TRUE);
+ elm_widget_tree_unfocusable_set(sobj, EINA_FALSE);
+ }
if ((sd->child_can_focus) && (_is_focusable(sobj)))
{
Evas_Object *subobj;