Commit 2500162d authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

don't let GimpImageMapTools move sample points. They fail badly and leave

2007-11-12  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_ruler_button_press): don't let
	GimpImageMapTools move sample points. They fail badly and leave
	the display in a paused state.


svn path=/trunk/; revision=24133
parent c98a9807
2007-11-12 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_ruler_button_press): don't let
GimpImageMapTools move sample points. They fail badly and leave
the display in a paused state.
2007-11-12 Michael Natterer <mitch@gimp.org>
* app/sanity.c: added Pango version sanity check.
......
......@@ -41,6 +41,7 @@
#include "core/gimplayer.h"
#include "core/gimptoolinfo.h"
#include "tools/gimpimagemaptool.h"
#include "tools/gimpmovetool.h"
#include "tools/gimppainttool.h"
#include "tools/gimptoolcontrol.h"
......@@ -1512,6 +1513,7 @@ gimp_display_shell_ruler_button_press (GtkWidget *widget,
sample_point = (event->state & GDK_CONTROL_MASK);
if (! ((sample_point && (GIMP_IS_COLOR_TOOL (active_tool) &&
! GIMP_IS_IMAGE_MAP_TOOL (active_tool) &&
! (GIMP_IS_PAINT_TOOL (active_tool) &&
! GIMP_PAINT_TOOL (active_tool)->pick_colors)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment