mirror of https://github.com/GNOME/gimp.git
Clear highlight in previously active shell when changing active shell.
2007-08-18 Martin Nordholts <martinn@svn.gnome.org> * app/tools/gimprectangletool.c (gimp_rectangle_tool_button_press): Clear highlight in previously active shell when changing active shell. svn path=/trunk/; revision=23318
This commit is contained in:
parent
e4baf09863
commit
264d44588b
|
@ -1,3 +1,9 @@
|
||||||
|
2007-08-18 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
|
||||||
|
* app/tools/gimprectangletool.c
|
||||||
|
(gimp_rectangle_tool_button_press): Clear highlight in previously
|
||||||
|
active shell when changing active shell.
|
||||||
|
|
||||||
2007-08-18 Martin Nordholts <martinn@svn.gnome.org>
|
2007-08-18 Martin Nordholts <martinn@svn.gnome.org>
|
||||||
|
|
||||||
* app/tools/gimpcroptool.c (gimp_crop_tool_button_release): Call
|
* app/tools/gimpcroptool.c (gimp_crop_tool_button_release): Call
|
||||||
|
|
|
@ -606,7 +606,11 @@ gimp_rectangle_tool_button_press (GimpTool *tool,
|
||||||
if (display != tool->display)
|
if (display != tool->display)
|
||||||
{
|
{
|
||||||
if (gimp_draw_tool_is_active (draw_tool))
|
if (gimp_draw_tool_is_active (draw_tool))
|
||||||
gimp_draw_tool_stop (draw_tool);
|
{
|
||||||
|
gimp_display_shell_set_highlight (GIMP_DISPLAY_SHELL (draw_tool->display->shell),
|
||||||
|
NULL);
|
||||||
|
gimp_draw_tool_stop (draw_tool);
|
||||||
|
}
|
||||||
|
|
||||||
gimp_rectangle_tool_set_function (rectangle, RECT_CREATING);
|
gimp_rectangle_tool_set_function (rectangle, RECT_CREATING);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue