[gtk/matthiasc/for-master: 10/10] filechooser: Make filtering work again
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 10/10] filechooser: Make filtering work again
- Date: Sat, 4 Jul 2020 14:28:59 +0000 (UTC)
commit 69975627e9176c3e43e7c1eaef75580fa0682550
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jul 4 10:08:28 2020 -0400
filechooser: Make filtering work again
One too many lines were dropped when this filter combo
was converted to a dropdown. Bring it back, to make
filtering work again.
gtk/gtkfilechooserwidget.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 94eb40c05d..48d3185868 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -6933,6 +6933,8 @@ filter_combo_changed (GtkDropDown *dropdown,
new_filter = gtk_drop_down_get_selected_item (dropdown);
+ set_current_filter (impl, new_filter);
+
if (impl->location_entry != NULL)
_gtk_file_chooser_entry_set_file_filter (GTK_FILE_CHOOSER_ENTRY (impl->location_entry),
new_filter);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]