From 1c19b6cfd9ada08dbdc16c8c546fcd74e09a42ec Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 3 Nov 2025 12:24:42 -0700 Subject: [PATCH] GtkFileChooserButton should emit a signal when a file is selected from the combobox --- libs/tk/ytk/gtkfilechooserbutton.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/tk/ytk/gtkfilechooserbutton.c b/libs/tk/ytk/gtkfilechooserbutton.c index 2971181fe8..dfa0c9f574 100644 --- a/libs/tk/ytk/gtkfilechooserbutton.c +++ b/libs/tk/ytk/gtkfilechooserbutton.c @@ -614,8 +614,11 @@ gtk_file_chooser_button_select_file (GtkFileChooser *chooser, update_label_and_image (button); update_combo_box (button); - if (priv->active) + if (priv->active) { gtk_file_chooser_select_file (GTK_FILE_CHOOSER (priv->dialog), file, NULL); + } else { + g_signal_emit (button, file_chooser_button_signals[FILE_SET], 0); + } return TRUE; }