[gnome-subtitles] Fix the remaining part of bug #607228, which completes the set of video file extensions for use in t
- From: Pedro Daniel da Rocha Melo e Castro <pcastro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-subtitles] Fix the remaining part of bug #607228, which completes the set of video file extensions for use in t
- Date: Sat, 8 Jan 2011 13:31:34 +0000 (UTC)
commit 35566de75a2fd383a0c922835ee99e2b9a66af5c
Author: Pedro Castro <mail pedrocastro org>
Date: Sat Jan 8 13:31:10 2011 +0000
Fix the remaining part of bug #607228, which completes the set of video file extensions for use in the video list of the subtitle File Open dialog.
gnome-subtitles.mdp | 3 ++-
src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs | 4 ++--
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gnome-subtitles.mdp b/gnome-subtitles.mdp
index 3c1c826..4a1bed8 100644
--- a/gnome-subtitles.mdp
+++ b/gnome-subtitles.mdp
@@ -2,6 +2,7 @@
<Policies>
<TextStylePolicy FileWidth="120" TabWidth="4" RemoveTrailingWhitespace="True" EolMarker="Unix" inheritsSet="Mono" inheritsScope="text/plain" />
</Policies>
+ <Deployment.LinuxDeployData generateScript="False" />
<Configurations active="Debug">
<Configuration name="Debug" ctype="DotNetProjectConfiguration">
<Output directory="build" assembly="gnome-subtitles" assemblyKeyFile="/home/noup/Workspace/gnome-subtitles/." />
@@ -259,8 +260,8 @@
<ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<ProjectReference type="Gac" localcopy="True" refto="glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
<ProjectReference type="Gac" localcopy="True" refto="gconf-sharp, Version=2.24.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+ <ProjectReference type="Gac" localcopy="True" refto="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
</References>
<LanguageParameters StartupObject="GnomeSubtitles.Execution.Executable" ApplicationIcon="." ctype="CSharpProjectParameters" />
- <Deployment.LinuxDeployData generateScript="False" />
<DeploymentInformation strategy="File" />
</Project>
\ No newline at end of file
diff --git a/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs b/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs
index 4cd6609..7c765fc 100644
--- a/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs
+++ b/src/GnomeSubtitles/Ui/VideoPreview/VideoFiles.cs
@@ -1,6 +1,6 @@
/*
* This file is part of Gnome Subtitles.
- * Copyright (C) 2007-2009 Pedro Castro
+ * Copyright (C) 2007-2011 Pedro Castro
*
* Gnome Subtitles is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@ using System.Text.RegularExpressions;
namespace GnomeSubtitles.Ui.VideoPreview {
public class VideoFiles {
- private static Regex videoFilesRegex = new Regex(@"^.*\.((avi)|(mpeg)|(mpg)|(mp4)|(ogm)|(divx)|(xvid)|(mov)|(ogg)|(mkv))$");
+ private static Regex videoFilesRegex = new Regex(@"^.*\.((3g2)|(3gp)|(asf)|(avi)|(bdm)|(cpi)|(divx)|(flv)|(m4v)|(mkv)|(mod)|(mov)|(mp3)|(mp4)|(mpeg)|(mpg)|(mts)|(ogg)|(ogm)|(rm)|(rmvb)|(spx)|(vob)|(wav)|(wma)|(wmv)|(xvid))$");
/* Public methods */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]