gimp r28226 - in trunk: . app/display
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r28226 - in trunk: . app/display
- Date: Sat, 28 Mar 2009 15:20:19 +0000 (UTC)
Author: mitch
Date: Sat Mar 28 15:20:18 2009
New Revision: 28226
URL: http://svn.gnome.org/viewvc/gimp?rev=28226&view=rev
Log:
2009-03-28 Michael Natterer <mitch gimp org>
Bug 566575 â Warning when creating sample point and releasing Ctrl
key too late
* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_ruler_button_press): call
gimp_display_shell_update_focus() after changing the tool so the
new tool has the right state.
Modified:
trunk/ChangeLog
trunk/app/display/gimpdisplayshell-callbacks.c
Modified: trunk/app/display/gimpdisplayshell-callbacks.c
==============================================================================
--- trunk/app/display/gimpdisplayshell-callbacks.c (original)
+++ trunk/app/display/gimpdisplayshell-callbacks.c Sat Mar 28 15:20:18 2009
@@ -1666,8 +1666,14 @@
"gimp-move-tool");
if (tool_info)
- gimp_context_set_tool (gimp_get_user_context (display->gimp),
- tool_info);
+ {
+ gimp_context_set_tool (gimp_get_user_context (display->gimp),
+ tool_info);
+
+ /* make sure the newly created tool has the right state
+ */
+ gimp_display_shell_update_focus (shell, NULL, event->state);
+ }
}
active_tool = tool_manager_get_active (display->gimp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]