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:
1338df8
)
[elm_widget] fix bug in elm_widget_show_region_set function
author
Myungjae Lee
<mjae.lee@samsung.com>
Thu, 19 Aug 2010 02:21:15 +0000
(11:21 +0900)
committer
Myungjae Lee
<mjae.lee@samsung.com>
Thu, 19 Aug 2010 02:21:15 +0000
(11:21 +0900)
src/lib/elm_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_widget.c
b/src/lib/elm_widget.c
index
cee9846
..
b417271
100644
(file)
--- a/
src/lib/elm_widget.c
+++ b/
src/lib/elm_widget.c
@@
-794,6
+794,22
@@
elm_widget_show_region_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Co
sd->rh = h;
if (sd->on_show_region_func)
sd->on_show_region_func(sd->on_show_region_data, obj);
+ else
+ {
+ Evas_Object *parent_obj;
+ do
+ {
+ parent_obj = sd->parent_obj;
+ sd = evas_object_smart_data_get(parent_obj);
+ if ((!parent_obj) || (!sd) || (!_elm_widget_is(parent_obj))) break;
+ if (sd->on_show_region_func)
+ {
+ sd->on_show_region_func(sd->on_show_region_data, obj);
+ break;
+ }
+ }
+ while (parent_obj);
+ }
}
EAPI void