gtk+ r17631 - in branches/gtk-2-10: . gtk



Author: mitch
Date: 2007-04-25 13:31:20 +0100 (Wed, 25 Apr 2007)
New Revision: 17631
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=17631&view=rev

Modified:
   branches/gtk-2-10/ChangeLog
   branches/gtk-2-10/gtk/gtkmenu.c
Log:
2007-04-25  Michael Natterer  <mitch imendio com>

	Merged from trunk:

	* 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]