diff options
author | Ignacy KuchciĆski <ignacykuchcinski@gmail.com> | 2021-09-06 18:48:08 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-10-12 10:33:21 +0200 |
commit | 887ac9279fe680eb48fa406f4bc62544a7e83954 (patch) | |
tree | aee98dbf82bc10ab8491f5c9124de92b5d7ab55e | |
parent | 175e1ec3fbae35b088c79e764e0f9f8c3b68cd30 (diff) | |
download | totem-887ac9279fe680eb48fa406f4bc62544a7e83954.tar.gz |
main: Add MPL subtitles to the filechooser filters
-rw-r--r-- | src/totem-uri.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |