[gtk+] GtkFileChooser: Show remote search results too



commit 3f0f68e6ad834051c40e55324657747ac7e60d21
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 16 00:38:21 2015 -0400

    GtkFileChooser: Show remote search results too
    
    There is no reason not to show them. Removing this
    makes search on remote locations just work.

 gtk/gtkfilechooserwidget.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index eaaaf9b..5204a07 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -6106,12 +6106,6 @@ search_add_hit (GtkFileChooserWidget *impl,
   if (!file)
     return;
 
-  if (!g_file_is_native (file))
-    {
-      g_object_unref (file);
-      return;
-    }
-
   priv->search_model_empty = FALSE;
 
   _gtk_file_system_model_add_and_query_file (priv->search_model,


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