banshee r4148 - in trunk/banshee: . src/Extensions/Banshee.Podcasting/Banshee.Podcasting



Author: gburt
Date: Fri Jun 13 20:36:14 2008
New Revision: 4148
URL: http://svn.gnome.org/viewvc/banshee?rev=4148&view=rev

Log:
2008-06-13  Gabriel Burt  <gabriel burt gmail com>

	* src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService_Interface.cs:
	Patch from Bertrand Lorentz to properly dispose the podcast actions when
	the extension is disposed (BGO #537066).


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService_Interface.cs

Modified: trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService_Interface.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService_Interface.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.Podcasting/Banshee.Podcasting/PodcastService_Interface.cs	Fri Jun 13 20:36:14 2008
@@ -68,15 +68,13 @@
         private void DisposeInterface ()
         {
             if (source != null) {
-                //source.FeedView.SelectionProxy.Changed -= OnFeedSelectionChangedHandler;
-                //source.ItemView.RowActivated -= OnPodcastItemRowActivatedHandler;              
-                
                 ServiceManager.SourceManager.RemoveSource (source);
                 source = null;
             }
             
             if (actions != null) {
-                //podcast_action.
+                actions.Dispose ();
+                actions = null;
             }
         }
     }



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