[longomatch/redesign2: 22/140] Use the for the previes the pixbuf in the the project description



commit 72d47c7a3578a16a0a1b4dbb9c85f5b334c3f70d
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]