[banshee/amazon] In Amazon extension, implement IDisposable and change packing so items appear at top of list
- From: Gabriel Burt <gburt src gnome org>
- To: svn-commits-list gnome org
- Subject: [banshee/amazon] In Amazon extension, implement IDisposable and change packing so items appear at top of list
- Date: Mon, 11 May 2009 15:42:46 -0400 (EDT)
commit 9fb2f707db1f841a935a73bdec967e82a9c8a7d2
Author: Gabriel Burt <gabriel burt gmail com>
Date: Mon May 11 14:23:04 2009 -0500
In Amazon extension, implement IDisposable and change packing so items appear at top of list
---
.../Banshee.Amazon/Banshee.Amazon/AmazonPane.cs | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/src/Extensions/Banshee.Amazon/Banshee.Amazon/AmazonPane.cs b/src/Extensions/Banshee.Amazon/Banshee.Amazon/AmazonPane.cs
index 69ee137..7f44871 100644
--- a/src/Extensions/Banshee.Amazon/Banshee.Amazon/AmazonPane.cs
+++ b/src/Extensions/Banshee.Amazon/Banshee.Amazon/AmazonPane.cs
@@ -47,6 +47,12 @@ namespace Banshee.Amazon
public override Widget Widget {
get { return widget; }
}
+
+ public override void Dispose ()
+ {
+ widget.Dispose ();
+ widget = null;
+ }
}
public class AmazonItemList : TitledList
@@ -91,7 +97,7 @@ namespace Banshee.Amazon
Title = String.Format (name_format, track.ArtistName);
foreach (var item in items) {
- item_list.PackEnd (CreateItemWidget (item), false, false, 0);
+ item_list.PackStart (CreateItemWidget (item), false, false, 0);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]