[sugar] [PATCH] Add prelight to buttons in Journal list

Tomeu Vizoso tomeu
Sat Apr 19 07:00:00 EDT 2008


On Thu, Apr 17, 2008 at 6:18 AM, Eben Eliason <eben.eliason at gmail.com> wrote:
> These two patches are both pretty simple, and each add a prelight
>  state to buttons in the list view of the Journal.  I include them
>  together as they're similar, but also because they both suffer a
>  common glitch, which I'm going to assume is a bug in Hippo.  Despite
>  connecting to MOTION_NOTIFY events for both ENTER and LEAVE, the
>  prelight states only appear when the mouse is clicked on the icons.
>  Something in the event processing is acting strangely.
>
>  Ideas as to the cause (or corrections of a stupid mistake of my own)
>  are appreciated.

Patches look good. About why prelight doesn't work, may be because
CanvasIcon or the container box are incorrectly handling this same
signal so it doesn't get propagated somehow? Adding debug statements
to the handlers for this signal in canvasicon and the container may be
useful.

Tomeu



More information about the Sugar-devel mailing list