Allow the icon to be clicked by passing events. Why was this not done before?

SVN revision: 24357
This commit is contained in:
Stafford Mitchell Horne 2006-08-02 04:40:46 +00:00
parent 87fc3463be
commit 2013e59c89
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}