Allow the icon to be clicked by passing events. Why was this not done before?
authorStafford Mitchell Horne <shorne@gmail.com>
Wed, 2 Aug 2006 04:40:46 +0000 (04:40 +0000)
committerStafford 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

index 0eb5b8b..0d5acb0 100644 (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);
 }