mirror of https://github.com/GNOME/gimp.git
app: return TRUE from button_press() so the event doesn't get to the notebook
This commit is contained in:
parent
f46122b862
commit
d1307a84a4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue