[Sugar-devel] [PATCH] Remove hippo from the intro screens

Daniel Drake dsd at laptop.org
Tue Sep 27 09:52:44 EDT 2011


On Mon, Sep 26, 2011 at 4:38 PM, Sascha Silbe <silbe at activitycentral.com> wrote:

> [class ColorPicker]
>> +    def _button_press_cb(self, widget, event):
>> +        if event.button == 1 and event.type == gtk.gdk.BUTTON_PRESS:
>
> Why do we need to check for BUTTON_PRESS here? We only subscribed to
> button-press-event, so what other events could we received?

the additional double/triple click events, and maybe others.

thanks, pushed


More information about the Sugar-devel mailing list