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:
2ed89a2
)
elementary/elm_widget : Fix _newest_focus_order_get, it should not
author
WooHyun Jung
<woohyun0705@gmail.com>
Tue, 5 Jul 2011 07:59:01 +0000
(07:59 +0000)
committer
WooHyun Jung
<woohyun0705@gmail.com>
Tue, 5 Jul 2011 07:59:01 +0000
(07:59 +0000)
return disabled object
SVN revision: 61033
src/lib/elm_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_widget.c
b/src/lib/elm_widget.c
index
ad5d03b
..
4acbc09
100644
(file)
--- a/
src/lib/elm_widget.c
+++ b/
src/lib/elm_widget.c
@@
-2784,7
+2784,10
@@
_newest_focus_order_get(Evas_Object *obj,
Evas_Object *child, *ret, *best;
API_ENTRY return NULL;
- if (!evas_object_visible_get(obj)) return NULL;
+
+ if ((!evas_object_visible_get(obj)) || (elm_widget_disabled_get(obj)))
+ return NULL;
+
best = NULL;
if (*newest_focus_order < sd->focus_order)
{