Commit d1307a84 authored by Michael Natterer's avatar Michael Natterer 😴

app: return TRUE from button_press() so the event doesn't get to the notebook

parent f46122b8
......@@ -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
......
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