[banshee/source-contents] Middle of adding support for disposing source contents by listening for SourceRemoved events



commit 2df20e427996af7cab8e9e8968b7de181bef0f5c
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Thu Mar 26 11:12:28 2009 -0500

    Middle of adding support for disposing source contents by listening for SourceRemoved events
---
 .../Banshee.Sources.Gui/SourceContentManager.cs    |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceContentManager.cs b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceContentManager.cs
index a3223b7..f1596f0 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceContentManager.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceContentManager.cs
@@ -73,6 +73,7 @@ namespace Banshee.Sources.Gui
         public SourceContentManager ()
         {
             AddinManager.AddExtensionNodeHandler ("/Banshee/ThickClient/SourceContentProvider", OnExtensionChanged);
+            ServiceManager.SourceManager.SourceRemoved += OnSourceRemoved;
         }
 
         public void Dispose ()



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