[gtk+/gtk-2-24] bgo#652045 - Initialize local_only in GtkFileChooserEntry



commit 5afa001a8dfb97464a1c0e4395966feb1a4153a5
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 3e62dc4..2ee7903 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -4539,6 +4539,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]