[epiphany/mcatanzaro/run-file-chooser: 8/8] web-view: Show all files when running the file chooser for uploads



commit 1a6fdff57dd77d7bf561bd9b33a81d4c031f293f
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Thu Nov 29 10:12:02 2018 -0600

    web-view: Show all files when running the file chooser for uploads
    
    When uploading files, it's annoying to filter the files down to files
    supported by Epiphany. The user is not selecting a file to be opened in
    Epiphany. He is just selecting any arbitrary file to be uploaded to the
    website. We shouldn't be filtering anything here at all.
    
    This doesn't work yet due to https://gitlab.gnome.org/GNOME/gtk/issues/1492
    but no reason to stall on that.

 embed/ephy-web-view.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index e72841587..875f0e7b2 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -338,7 +338,7 @@ ephy_web_view_run_file_chooser (WebKitWebView            *web_view,
   dialog = ephy_create_file_chooser (_("Open"),
                                      GTK_WIDGET (toplevel),
                                      GTK_FILE_CHOOSER_ACTION_OPEN,
-                                     EPHY_FILE_FILTER_ALL_SUPPORTED);
+                                     EPHY_FILE_FILTER_ALL);
 
   if (filter)
     gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (dialog), filter);


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