bgo#652045 - Initialize local_only in GtkFileChooserEntry

This has to be done also when we switch to the entry, otherwise completion for
non-local URIs won't work.
This commit is contained in:
Michal Suchanek 2011-06-08 16:24:48 -05:00 committed by Federico Mena Quintero
parent f737246a6a
commit a64bc46c9e

View File

@ -4867,6 +4867,7 @@ location_switch_to_filename_entry (GtkFileChooserDefault *impl)
/* Configure the entry */
_gtk_file_chooser_entry_set_base_folder (GTK_FILE_CHOOSER_ENTRY (impl->location_entry), impl->current_folder);
_gtk_file_chooser_entry_set_local_only (GTK_FILE_CHOOSER_ENTRY (impl->location_entry), impl->local_only);
/* Done */