forked from AuroraMiddleware/gtk
gtkfilechooserwidget: When using an extra widget, show or hide the filter combo as appropriate
https://bugzilla.gnome.org/show_bug.cgi?id=742653
This commit is contained in:
parent
0b50e1fff6
commit
8c5094c22c
@ -532,6 +532,9 @@ static void search_entry_activate_cb (GtkEntry *entry,
|
|||||||
gpointer data);
|
gpointer data);
|
||||||
static void settings_load (GtkFileChooserWidget *impl);
|
static void settings_load (GtkFileChooserWidget *impl);
|
||||||
|
|
||||||
|
static void show_filters (GtkFileChooserWidget *impl,
|
||||||
|
gboolean show);
|
||||||
|
|
||||||
static void recent_start_loading (GtkFileChooserWidget *impl);
|
static void recent_start_loading (GtkFileChooserWidget *impl);
|
||||||
static void recent_stop_loading (GtkFileChooserWidget *impl);
|
static void recent_stop_loading (GtkFileChooserWidget *impl);
|
||||||
static void recent_clear_model (GtkFileChooserWidget *impl,
|
static void recent_clear_model (GtkFileChooserWidget *impl,
|
||||||
@ -2246,7 +2249,8 @@ set_extra_widget (GtkFileChooserWidget *impl,
|
|||||||
else
|
else
|
||||||
gtk_widget_hide (priv->extra_align);
|
gtk_widget_hide (priv->extra_align);
|
||||||
|
|
||||||
update_extra_and_filters (impl);
|
/* Calls update_extra_and_filters */
|
||||||
|
show_filters (impl, priv->filters != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user