[longomatch/redesign: 67/75] Remove unused property, that are in the PreviewMediaFile



commit 7dec4f4d47b79e5316f0d1d1c8d27c5a0ca4941c
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Jan 31 21:50:42 2011 +0100

    Remove unused property, that are in the PreviewMediaFile

 LongoMatch/Gui/Component/ProjectListWidget.cs |    4 ++--
 LongoMatch/Store/ProjectDescription.cs        |   10 ----------
 2 files changed, 2 insertions(+), 12 deletions(-)
---
diff --git a/LongoMatch/Gui/Component/ProjectListWidget.cs b/LongoMatch/Gui/Component/ProjectListWidget.cs
index 0ff9597..ffdf92a 100644
--- a/LongoMatch/Gui/Component/ProjectListWidget.cs
+++ b/LongoMatch/Gui/Component/ProjectListWidget.cs
@@ -119,8 +119,8 @@ namespace LongoMatch.Gui.Component
 			
 			text = "\n"+"\n"+"\n"+"<b>"+Catalog.GetString("File length")+":</b>  " + 
 				(new Time {MSeconds = (int)project.File.Length}).ToSecondsString();
-			text = text +"\n"+"<b>"+Catalog.GetString("Video codec")+":</b>  " + project.VideoCodec;
-			text = text +"\n"+"<b>"+Catalog.GetString("Audio codec")+":</b>  " + project.AudioCodec;
+			text = text +"\n"+"<b>"+Catalog.GetString("Video codec")+":</b>  " + project.File.VideoCodec;
+			text = text +"\n"+"<b>"+Catalog.GetString("Audio codec")+":</b>  " + project.File.AudioCodec;
 			text = text +"\n"+"<b>"+Catalog.GetString("Format")+":</b>  " + project.Format;
 
 			(cell as Gtk.CellRendererText).Markup = text;
diff --git a/LongoMatch/Store/ProjectDescription.cs b/LongoMatch/Store/ProjectDescription.cs
index 8c928c9..0004ca5 100644
--- a/LongoMatch/Store/ProjectDescription.cs
+++ b/LongoMatch/Store/ProjectDescription.cs
@@ -104,16 +104,6 @@ namespace LongoMatch.Store
 			set;
 		}
 
-		public String VideoCodec {
-			get;
-			set;
-		}
-		
-		public String AudioCodec {
-			get;
-			set;
-		}
-		
 		/// <summary>
 		/// String representing the video format like "widhtxheight fps"
 		/// </summary>



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