[gimp] app: return TRUE from button_press() so the event doesn't get to the notebook
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: return TRUE from button_press() so the event doesn't get to the notebook
- Date: Wed, 27 Oct 2010 13:40:23 +0000 (UTC)
commit d1307a84a49d03e006153628d573aefce3336dda
Author: Michael Natterer <mitch gimp org>
Date: Wed Oct 27 15:39:52 2010 +0200
app: return TRUE from button_press() so the event doesn't get to the notebook
app/widgets/gimppaletteview.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimppaletteview.c b/app/widgets/gimppaletteview.c
index 4f77088..cb01019 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]