gtk+ r17571 - in trunk: . gtk



Author: mitch
Date: 2007-03-29 16:47:49 +0100 (Thu, 29 Mar 2007)
New Revision: 17571
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=17571&view=rev

Modified:
   trunk/ChangeLog
   trunk/gtk/gtkmenu.c
Log:
2007-03-29  Michael Natterer  <mitch imendio com>

	Don't close menus on clicks on their border area (bug #423761).
	(modified patch from maemo-gtk).

	* gtk/gtkmenu.c (gtk_menu_button_press)
	(gtk_menu_button_release): bail out early if the click was on the
	menu's border (not on any item and not outside the window).

	(pointer_in_menu_window): new utility function which checks if
	passed root coords are inside the menu_shell or one of its
	parent shells.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]