banshee r4412 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Collection.Gui
- From: sharm svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4412 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Collection.Gui
- Date: Thu, 21 Aug 2008 18:19:00 +0000 (UTC)
Author: sharm
Date: Thu Aug 21 18:19:00 2008
New Revision: 4412
URL: http://svn.gnome.org/viewvc/banshee?rev=4412&view=rev
Log:
2008-08-21 Sandy Armstrong <sanfordarmstrong gmail com>
* src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs:
Don't try to to scale cover art if the size specified is <= 1. Fixes
hangs described in BGO #548300.
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Collection.Gui/ArtworkManager.cs Thu Aug 21 18:19:00 2008
@@ -120,7 +120,7 @@
}
string orig_path = CoverArtSpec.GetPathForSize (id, 0);
- if (File.Exists (orig_path)) {
+ if (File.Exists (orig_path) && size > 1) {
try {
Pixbuf pixbuf = new Pixbuf (orig_path);
Pixbuf scaled_pixbuf = pixbuf.ScaleSimple (size, size, Gdk.InterpType.Bilinear);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]