[libnma/lr/more-gcr4-stuff: 1/6] cert-chooser-button: pop down the combo when clicked




commit c741a9b98ee49e1a01f06c8094e868de20c057b4
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 4b14587c..863af63a 100644
--- a/src/nma-cert-chooser-button.c
+++ b/src/nma-cert-chooser-button.c
@@ -365,6 +365,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]