mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-29 18:47:38 +00:00
gtkappchooserwidget: Use symbolic names for button numbers
This commit is contained in:
parent
f11e5a3f4d
commit
ffd6dab8aa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user