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



commit 87fe22729cc8079e83f27d0abaada91df1365c16
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 70b6472b6..d688bcffc 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]