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

This commit is contained in:
Michael Natterer 2010-10-27 15:39:52 +02:00
parent f46122b862
commit d1307a84a4
1 changed files with 2 additions and 2 deletions

View File

@ -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