Commit ffd6dab8 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos Committed by Carlos Garcia Campos

gtkappchooserwidget: Use symbolic names for button numbers

parent f11e5a3f
......@@ -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;
......
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