gtkpathbar: Use symbolic names for button numbers

This commit is contained in:
Carlos Garcia Campos 2012-01-25 18:44:55 +01:00 committed by Carlos Garcia Campos
parent 0453f91f02
commit 15711a3bf7

View File

@ -1130,7 +1130,7 @@ gtk_path_bar_slider_button_press (GtkWidget *widget,
GdkEventButton *event,
GtkPathBar *path_bar)
{
if (event->type != GDK_BUTTON_PRESS || event->button != 1)
if (event->type != GDK_BUTTON_PRESS || event->button != GDK_BUTTON_PRIMARY)
return FALSE;
path_bar->ignore_click = FALSE;