Commit 8c5094c2 authored by Iain Lane's avatar Iain Lane Committed by Matthias Clasen

gtkfilechooserwidget: When using an extra widget, show or hide the filter combo as appropriate

https://bugzilla.gnome.org/show_bug.cgi?id=742653
parent 0b50e1ff
......@@ -532,6 +532,9 @@ static void search_entry_activate_cb (GtkEntry *entry,
gpointer data);
static void settings_load (GtkFileChooserWidget *impl);
static void show_filters (GtkFileChooserWidget *impl,
gboolean show);
static void recent_start_loading (GtkFileChooserWidget *impl);
static void recent_stop_loading (GtkFileChooserWidget *impl);
static void recent_clear_model (GtkFileChooserWidget *impl,
......@@ -2246,7 +2249,8 @@ set_extra_widget (GtkFileChooserWidget *impl,
else
gtk_widget_hide (priv->extra_align);
update_extra_and_filters (impl);
/* Calls update_extra_and_filters */
show_filters (impl, priv->filters != NULL);
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment