[gtk+/multiroot-filechooser-2-20: 18/21] Don't filter the completion results for the roots



commit b60a27399b8ee9e6cf0463524fc3154c637e44a3
Author: Federico Mena Quintero <federico novell com>
Date:   Thu Jun 24 15:04:57 2010 -0500

    Don't filter the completion results for the roots
    
    We don't even initiate the load-a-folder-to-do-completion procedure if the
    folder is not in the roots.  By the time we get to populate_completion_store(),
    we know that the current folder *is* allowed to be viewed.  See
    start_loading_current_folder().
    
    Signed-off-by: Federico Mena Quintero <federico novell com>

 gtk/gtkfilechooserentry.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index ec2b085..d2c6a7f 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -1338,9 +1338,6 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry)
 
       file = tmp_list->data;
 
-      if (!is_file_in_roots (chooser_entry, file))
-        continue;
-
       info = _gtk_folder_get_info (chooser_entry->current_folder, file);
 
       if (info)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]