[epiphany/gnome-3-20] file-chooser: Support WebP files



commit d27b074481247596fde4bec571bf445a627f8534
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Fri Apr 8 09:04:22 2016 -0500

    file-chooser: Support WebP files
    
    It's not really sustainable to add every supported file type here
    manually, we need a better solution. But as a quick fix, add WebP
    support here.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=739934

 lib/widgets/ephy-file-chooser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/widgets/ephy-file-chooser.c b/lib/widgets/ephy-file-chooser.c
index b34cc94..171ab69 100644
--- a/lib/widgets/ephy-file-chooser.c
+++ b/lib/widgets/ephy-file-chooser.c
@@ -210,6 +210,7 @@ ephy_file_chooser_new (const char           *title,
         "image/png",
         "image/jpeg",
         "image/gif",
+        "image/webp",
         NULL);
 
     filter[EPHY_FILE_FILTER_WEBPAGES] =
@@ -229,6 +230,7 @@ ephy_file_chooser_new (const char           *title,
         "image/png",
         "image/jpeg",
         "image/gif",
+        "image/webp",
         NULL);
 
     filter[EPHY_FILE_FILTER_ALL] =


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