[banshee] [Audiobook] Trying to fix build, still broken
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Audiobook] Trying to fix build, still broken
- Date: Fri, 14 May 2010 22:41:31 +0000 (UTC)
commit 49f171def3f692f18f8c2cabe05c10dc30faa295
Author: Gabriel Burt <gabriel burt gmail com>
Date: Thu Jan 21 12:28:23 2010 -0800
[Audiobook] Trying to fix build, still broken
.../Banshee.Audiobook/AudiobookGrid.cs | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
index 6f60243..0bbf114 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
@@ -56,14 +56,18 @@ namespace Banshee.Audiobook
public AudiobookGrid ()
{
+ ViewLayout = new DataViewLayoutGrid ();
+
renderer = new ColumnCellAlbum () {
- LayoutStyle = DataViewLayoutStyle.Grid,
- ImageSize = 150
+ ImageSize = 150,
+ ViewLayout = ViewLayout
};
+
+ ViewLayout.ChildSize = renderer.Measure (ViewLayout.View);
+
var column_controller = new ColumnController ();
column_controller.Add (new Column ("Album", renderer, 1.0));
- LayoutStyle = DataViewLayoutStyle.Grid;
ColumnController = column_controller;
//RowActivated += OnRowActivated;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]