[libnma/lr-gcr-fixes: 2/5] cert-chooser-button: pop down the combo when clicked




commit 036199391d9c1ef678c5f351715178783674f6cc
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Wed Aug 3 11:21:15 2022 +0200

    cert-chooser-button: pop down the combo when clicked
    
    Gtk4 needs this. No effect on Gtk3.

 src/nma-cert-chooser-button.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/nma-cert-chooser-button.c b/src/nma-cert-chooser-button.c
index cfe8c288..b60a2787 100644
--- a/src/nma-cert-chooser-button.c
+++ b/src/nma-cert-chooser-button.c
@@ -363,6 +363,7 @@ changed (GtkComboBox *combo_box, gpointer user_data)
        if (gtk_combo_box_get_active (combo_box) == 0)
                return;
 
+       gtk_combo_box_popdown (combo_box);
        g_signal_stop_emission_by_name (combo_box, "changed");
        gtk_combo_box_get_active_iter (combo_box, &iter);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]