[longomatch/redesign: 23/120] Use the for the previes the pixbuf in the the project description



commit 09ef16ef33a2152686426865aa39cb9bcce2699b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sun Nov 21 20:30:04 2010 +0100

    Use the for the previes the pixbuf in the the project description

 LongoMatch/DB/ProjectDescription.cs           |    5 -----
 LongoMatch/Gui/Component/ProjectListWidget.cs |    2 +-
 2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/LongoMatch/DB/ProjectDescription.cs b/LongoMatch/DB/ProjectDescription.cs
index ad7259d..e6dfc6c 100644
--- a/LongoMatch/DB/ProjectDescription.cs
+++ b/LongoMatch/DB/ProjectDescription.cs
@@ -78,11 +78,6 @@ namespace LongoMatch.DB
 			set;
 		}
 
-		public Pixbuf Preview {
-			get;
-			set;
-		}
-		
 		public String VideoCodec {
 			get;
 			set;
diff --git a/LongoMatch/Gui/Component/ProjectListWidget.cs b/LongoMatch/Gui/Component/ProjectListWidget.cs
index 0c2f30f..51f65dc 100644
--- a/LongoMatch/Gui/Component/ProjectListWidget.cs
+++ b/LongoMatch/Gui/Component/ProjectListWidget.cs
@@ -109,7 +109,7 @@ namespace LongoMatch.Gui.Component
 		{
 			ProjectDescription project = (ProjectDescription) model.GetValue(iter, 0);
 			
-			(cell as Gtk.CellRendererPixbuf).Pixbuf= project.Preview;
+			(cell as Gtk.CellRendererPixbuf).Pixbuf= project.File.Preview;
 		}
 		
 		private void RenderProperties(Gtk.TreeViewColumn column, Gtk.CellRenderer cell, Gtk.TreeModel model, Gtk.TreeIter iter)



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