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.
This commit is contained in:
Maximiliano Sandoval R 2021-10-03 18:00:23 +02:00
parent 3918cdd989
commit 0aa3a7e71c
No known key found for this signature in database
GPG Key ID: D64A8D747F6FE706

View File

@ -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;
}