[banshee] [Audiobook] Partial fix for grid rendering



commit e0361c7a1090e007bf61b627d0bb0b04cb3f07b1
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Sun Nov 7 17:52:50 2010 -0600

    [Audiobook] Partial fix for grid rendering

 .../Banshee.Collection.Gui/DataViewChildAlbum.cs   |    4 +++-
 .../Banshee.Audiobook/AudiobookGrid.cs             |    5 -----
 2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DataViewChildAlbum.cs b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DataViewChildAlbum.cs
index 1cc5733..cdd7184 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DataViewChildAlbum.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/DataViewChildAlbum.cs
@@ -77,7 +77,9 @@ namespace Banshee.Collection.Gui
 
         public double ImageSize {
             get { return img.ImageSize; }
-            set { img.ImageSize = value; }
+            set {
+                Width = img.ImageSize = value;
+            }
         }
 
 #if false
diff --git a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
index 04f6e05..46d1a35 100644
--- a/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
+++ b/src/Extensions/Banshee.Audiobook/Banshee.Audiobook/AudiobookGrid.cs
@@ -76,11 +76,6 @@ namespace Banshee.Audiobook
             get { return true; }
         }
 
-        protected override Gdk.Size OnMeasureChild ()
-        {
-            return base.OnMeasureChild ();
-        }
-
         protected override bool OnPopupMenu ()
         {
             library.Actions["AudiobookBookPopup"].Activate ();



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