gtkappchooserwidget: Use symbolic names for button numbers

This commit is contained in:
Carlos Garcia Campos 2012-01-25 18:16:23 +01:00 committed by Carlos Garcia Campos
parent f11e5a3f4d
commit ffd6dab8aa

View File

@ -208,7 +208,7 @@ widget_button_press_event_cb (GtkWidget *widget,
{
GtkAppChooserWidget *self = user_data;
if (event->button == 3 && event->type == GDK_BUTTON_PRESS)
if (event->button == GDK_BUTTON_SECONDARY && event->type == GDK_BUTTON_PRESS)
{
GAppInfo *info;
GtkWidget *menu;