From 0aa3a7e71c25f9ecdbac8e762a2e5187d122436c Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval R Date: Sun, 3 Oct 2021 18:00:23 +0200 Subject: [PATCH] combo_box: Use mnemonic_activate on override This is changing the existing behavior where the mnemonic activation would just grab the focus of the button, this was the behavior in GTK 3. --- gtk/gtkcombobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index f007d841f9..c29896319e 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -2304,7 +2304,7 @@ gtk_combo_box_mnemonic_activate (GtkWidget *widget, gtk_widget_grab_focus (priv->child); } else - gtk_widget_grab_focus (priv->button); + gtk_widget_mnemonic_activate (priv->button, group_cycling); return TRUE; }