[Sugar-devel] [PATCH Chat v4] Scroll the chat log

Aleksey Lim alsroot at sugarlabs.org
Thu Apr 12 01:38:13 EDT 2012


On Wed, Apr 11, 2012 at 02:08:19PM -0300, Manuel Kaufmann wrote:
> Check if the user pressed (Control +) Page Up, (Control +) Page Down,
> Control + Home or Control + End and scroll the window according the
> pressed key.
> 
> Auto scroll again if the user entry a new message in the ChatBox.
> 
> This commit solves http://bugs.sugarlabs.org/ticket/2782
> 
> Signed-off-by: Manuel Kaufmann <humitos at gmail.com>

I only added "#2782" to commit title to make it possible to see ticket
number from short log. And, replaced

    event.state == gtk.gdk.CONTROL_MASK

by

    event.state & gtk.gdk.CONTROL_MASK

-- 
Aleksey


More information about the Sugar-devel mailing list