gtk+ r17630 - in trunk: . gtk
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r17630 - in trunk: . gtk
- Date: Wed, 25 Apr 2007 13:11:09 +0100 (BST)
Author: mitch
Date: 2007-04-25 13:11:08 +0100 (Wed, 25 Apr 2007)
New Revision: 17630
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=17630&view=rev
Modified:
trunk/ChangeLog
trunk/gtk/gtkmenu.c
Log:
2007-04-25 Michael Natterer <mitch imendio com>
* gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
scroll buttons (we were setting the state to ACTIVE but
immediately overwriting it with NORMAL or PRELIGHT). Also got rid
of many separate calls to gdk_window_invalidate_rect() by
remembering the old button state and only invalidating the area if
the state has changed (addresses parts of bug #433242, Tommi
Komulainen).
(gtk_menu_scroll_to): change the arrow states only if changing
from or to INSENSITIVE state, so we don't overwrite the ACTIVE
state set by above function.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]