From d1307a84a49d03e006153628d573aefce3336dda Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 27 Oct 2010 15:39:52 +0200 Subject: [PATCH] app: return TRUE from button_press() so the event doesn't get to the notebook --- app/widgets/gimppaletteview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/widgets/gimppaletteview.c b/app/widgets/gimppaletteview.c index 4f77088548..cb0101962d 100644 --- a/app/widgets/gimppaletteview.c +++ b/app/widgets/gimppaletteview.c @@ -228,7 +228,7 @@ gimp_palette_view_button_press (GtkWidget *widget, view->dnd_entry = entry; if (! entry || bevent->button == 2) - return FALSE; + return TRUE; if (bevent->type == GDK_BUTTON_PRESS) g_signal_emit (view, view_signals[ENTRY_CLICKED], 0, @@ -261,7 +261,7 @@ gimp_palette_view_button_press (GtkWidget *widget, break; } - return FALSE; + return TRUE; } static gboolean