# HG changeset patch # User ib # Date 1337593945 0 # Node ID 8e39cb975b4e9316e558156857cee2d541f9daf9 # Parent 6c750d212873249fa4ccd7cd95fa892b77fdcc9b Update subtitle file filter for file selector. Add descriptive names for the subtitle types and add JACOSub (*.jss). diff -r 6c750d212873 -r 8e39cb975b4e gui/ui/gtk/fileselect.c --- a/gui/ui/gtk/fileselect.c Mon May 21 09:47:09 2012 +0000 +++ b/gui/ui/gtk/fileselect.c Mon May 21 09:52:25 2012 +0000 @@ -94,17 +94,18 @@ char * fsSubtitleFilterNames[][2] = { - { "AQT (*.aqt)", "*.aqt" }, - { "ASS (*.ass)", "*.ass" }, - { "RT (*.rt) ", "*.rt" }, - { "SMI (*.smi)", "*.smi" }, - { "SRT (*.srt)", "*.srt" }, - { "SSA (*.ssa)", "*.ssa" }, - { "SUB (*.sub)", "*.sub" }, - { "TXT (*.txt)", "*.txt" }, - { "UTF (*.utf)", "*.utf" }, - { "Subtitles", "*.aqt,*.ass,*.rt,*.smi,*.srt,*.ssa,*.sub,*.txt,*.utf" }, - { "All files", "*" }, + { "AQTitle (*.aqt)", "*.aqt" }, + { "Advanced SubStation Alpha (*.ass)", "*.ass" }, + { "JACOSub (*.jss) ", "*.jss" }, + { "RealText (*.rt) ", "*.rt" }, + { "SAMI (*.smi)", "*.smi" }, + { "SubRip (*.srt)", "*.srt" }, + { "SubStation Alpha (*.ssa)", "*.ssa" }, + { "MicroDVD (*.sub)", "*.sub" }, + { "Text (*.txt)", "*.txt" }, + { "UTF (*.utf)", "*.utf" }, + { "All subtitles", "*.aqt,*.ass,*.jss,*.rt,*.smi,*.srt,*.ssa,*.sub,*.txt,*.utf" }, + { "All files", "*" }, { NULL,NULL } }; int fsLastSubtitleFilterSelected = -1;