[longomatch/redesign: 22/23] Use the for the previes the pixbuf in the the project description
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/redesign: 22/23] Use the for the previes the pixbuf in the the project description
- Date: Tue, 23 Nov 2010 00:15:34 +0000 (UTC)
commit 3d4d89fa1e1548a079708dde216a2d625fdff651
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]