[gtk+/gtk-3-0] bgo#652045 - Initialize local_only in GtkFileChooserEntry
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-0] bgo#652045 - Initialize local_only in GtkFileChooserEntry
- Date: Wed, 8 Jun 2011 21:05:14 +0000 (UTC)
commit 982fc84a4190f8a8ea407eede8125ec0f3913144
Author: Michal Suchanek <hramrach gmail com>
Date: Wed Jun 8 16:24:48 2011 -0500
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.
gtk/gtkfilechooserdefault.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 0189838..bbfb3c5 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -4861,6 +4861,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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]