[totem/wip/hadess/3.38.2: 2/7] main: Add MPL subtitles to the filechooser filters
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/3.38.2: 2/7] main: Add MPL subtitles to the filechooser filters
- Date: Tue, 12 Oct 2021 08:33:29 +0000 (UTC)
commit 887ac9279fe680eb48fa406f4bc62544a7e83954
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]