gimp r23020 - in trunk: . app/display



Author: mitch
Date: 2007-07-27 10:39:12 +0100 (Fri, 27 Jul 2007)
New Revision: 23020
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=23020&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell-callbacks.c
Log:
2007-07-27  Michael Natterer  <mitch gimp org>

	* app/display/gimpdisplayshell-callbacks.c: factored out utility
	function gimp_display_shell_update_focus() which sets the active
	tool into the proper state after the canvas received focus.

	(gimp_display_shell_canvas_tool_events): use it here instead of
	duplicating the code 3 times.

	(gimp_display_shell_ruler_button_press): use it here too so the
	move and color tools don't do weird things in click-to-focus
	mode (when FOCUS_IN is delivered after BUTTON_PRESS).






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