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



commit 97f56c57b735d77f8850baea5f02c177789cda2d
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]