summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserdefault.c
diff options
context:
space:
mode:
authorMichal Suchanek <hramrach@gmail.com>2011-06-08 16:24:48 -0500
committerFederico Mena Quintero <federico@gnome.org>2011-06-08 16:24:48 -0500
commita64bc46c9e1938a4e783e24aa1627c60fa48d4d0 (patch)
treeb658865294bbd17135fed2bfe58dea0d1760af6b /gtk/gtkfilechooserdefault.c
parentf737246a6aacc3723cd3bf79856872ea09ce3fad (diff)
downloadgtk+-a64bc46c9e1938a4e783e24aa1627c60fa48d4d0.tar.gz
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.
Diffstat (limited to 'gtk/gtkfilechooserdefault.c')
-rw-r--r--gtk/gtkfilechooserdefault.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index c583ec2b8f..c316fb2fcc 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -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 */