projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87fc346
)
Allow the icon to be clicked by passing events. Why was this not done before?
author
Stafford Mitchell Horne
<shorne@gmail.com>
Wed, 2 Aug 2006 04:40:46 +0000
(
04:40
+0000)
committer
Stafford Mitchell Horne
<shorne@gmail.com>
Wed, 2 Aug 2006 04:40:46 +0000
(
04:40
+0000)
SVN revision: 24357
src/bin/e_widget_button.c
patch
|
blob
|
history
diff --git
a/src/bin/e_widget_button.c
b/src/bin/e_widget_button.c
index
0eb5b8b
..
0d5acb0
100644
(file)
--- a/
src/bin/e_widget_button.c
+++ b/
src/bin/e_widget_button.c
@@
-90,6
+90,7
@@
e_widget_button_icon_set(Evas_Object *obj, Evas_Object *icon)
edje_object_part_swallow(wd->o_button, "icon_swallow", icon);
edje_object_signal_emit(wd->o_button, "icon_visible", "");
edje_object_message_signal_process(wd->o_button);
+ evas_object_pass_events_set(icon, 1);
evas_object_show(icon);
e_widget_sub_object_add(obj, icon);
}