On Mon, Sep 26, 2011 at 4:38 PM, Sascha Silbe <si...@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 _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel