[totem/wip/hadess/3.38.2: 1/6] main: Add MPL subtitles to the filechooser filters




commit 35741dcdc02393ea66cff095b1f61ec071f2080d
Author: Ignacy KuchciƄski <ignacykuchcinski gmail com>
Date:   Mon Sep 6 18:48:08 2021 +0200

    main: Add MPL subtitles to the filechooser filters

 src/totem-uri.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/totem-uri.c b/src/totem-uri.c
index 9ace19b78..2eb7f67e7 100644
--- a/src/totem-uri.c
+++ b/src/totem-uri.c
@@ -290,6 +290,7 @@ static const char subtitle_ext[][4] = {
        "smi",
        "ssa",
        "ass",
+       "mpl",
        "asc"
 };
 
@@ -347,6 +348,7 @@ totem_setup_file_filters (void)
        gtk_file_filter_set_name (filter_subs, _("Subtitle files"));
        gtk_file_filter_add_mime_type (filter_subs, "application/x-subrip"); /* *.srt */
        gtk_file_filter_add_mime_type (filter_subs, "text/plain"); /* *.asc, *.txt */
+       gtk_file_filter_add_mime_type (filter_subs, "text/x-mpl2"); /* *.mpl */
        gtk_file_filter_add_mime_type (filter_subs, "text/vtt"); /* *.vtt */
        gtk_file_filter_add_mime_type (filter_subs, "application/x-sami"); /* *.smi, *.sami */
        gtk_file_filter_add_mime_type (filter_subs, "text/x-microdvd"); /* *.sub */


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