[banshee] [Podcasting] Prelight the episode podcast image
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Podcasting] Prelight the episode podcast image
- Date: Tue, 26 Oct 2010 23:30:46 +0000 (UTC)
commit 5d34251abf62f13e4f8fb6498191aaacca587259
Author: Gabriel Burt <gabriel burt gmail com>
Date: Tue Oct 26 17:49:36 2010 -0500
[Podcasting] Prelight the episode podcast image
.../Banshee.Podcasting.Gui/Grid.cs | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/Grid.cs b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/Grid.cs
index 6253d85..c5384a3 100644
--- a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/Grid.cs
+++ b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/Grid.cs
@@ -75,9 +75,11 @@ namespace Banshee.Podcasting.Gui
return "";
}
}
- }//,
+ },
// Render the prelight just on the cover art, but triggered by being anywhere over the album
- //PrelightRenderer = (cr, theme, size, o) => Prelight.Gradient (cr, theme, img.ContentAllocation, o)
+ PrelightRenderer = (cr, theme, size, o) => {
+ Prelight.Gradient (cr, theme, new Rect (img.ContentAllocation.X, img.ContentAllocation.Y, img.ImageSize, img.ImageSize), o);
+ }
};
},
View = this
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]