[banshee] [ContextPane] Fix extension loading crash



commit cfad880a91fbf3b403379cc1096cb8075239097e
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Wed May 27 16:32:51 2009 -0500

    [ContextPane] Fix extension loading crash
    
    Set Banshee.ThickClient addin isroot=true, and rename the ContextPage
    extension point to aid in rescan; should fix BGO #583699.
---
 .../Banshee.ContextPane/ContextPageManager.cs      |    2 +-
 .../Banshee.ThickClient.addin.xml                  |    3 ++-
 .../Banshee.Lastfm/Banshee.Lastfm.addin.xml        |    2 +-
 .../Banshee.Wikipedia/Banshee.Wikipedia.addin.xml  |    2 +-
 4 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/Core/Banshee.ThickClient/Banshee.ContextPane/ContextPageManager.cs b/src/Core/Banshee.ThickClient/Banshee.ContextPane/ContextPageManager.cs
index f45d314..6c13736 100644
--- a/src/Core/Banshee.ThickClient/Banshee.ContextPane/ContextPageManager.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.ContextPane/ContextPageManager.cs
@@ -42,7 +42,7 @@ namespace Banshee.ContextPane
         public ContextPageManager (ContextPane pane)
         {
             this.pane = pane;
-            Mono.Addins.AddinManager.AddExtensionNodeHandler ("/Banshee/ThickClient/ContextPage", OnExtensionChanged);
+            Mono.Addins.AddinManager.AddExtensionNodeHandler ("/Banshee/ThickClient/ContextPane", OnExtensionChanged);
         }
 
         private void OnExtensionChanged (object o, ExtensionNodeEventArgs args) 
diff --git a/src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml b/src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml
index cc20699..daabd16 100644
--- a/src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml
+++ b/src/Core/Banshee.ThickClient/Banshee.ThickClient.addin.xml
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Addin 
     id="Banshee.ThickClient"
+    isroot="true"
     version="1.0"
     compatVersion="1.0"
     copyright="© 2008 Novell Inc. Licensed under the MIT X11 license."
@@ -41,7 +42,7 @@
     <ExtensionNode name="SourceView"/>
   </ExtensionPoint>
 
-  <ExtensionPoint path="/Banshee/ThickClient/ContextPage">
+  <ExtensionPoint path="/Banshee/ThickClient/ContextPane">
     <Description>Defines a new GTK+ context page, for showing contextual information beneath the main track source view.</Description>
     <ExtensionNode name="ContextPage"/>
   </ExtensionPoint>
diff --git a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml
index 7577449..6cc494a 100644
--- a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml
+++ b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml
@@ -20,7 +20,7 @@
     <Source class="Banshee.Lastfm.Radio.LastfmSource"/>
   </Extension>
 
-  <Extension path="/Banshee/ThickClient/ContextPage">
+  <Extension path="/Banshee/ThickClient/ContextPane">
     <ContextPage class="Banshee.Lastfm.Recommendations.ContextPage"/>
   </Extension>
   
diff --git a/src/Extensions/Banshee.Wikipedia/Banshee.Wikipedia.addin.xml b/src/Extensions/Banshee.Wikipedia/Banshee.Wikipedia.addin.xml
index 1825ed9..9f57d8f 100644
--- a/src/Extensions/Banshee.Wikipedia/Banshee.Wikipedia.addin.xml
+++ b/src/Extensions/Banshee.Wikipedia/Banshee.Wikipedia.addin.xml
@@ -16,7 +16,7 @@
     <Addin id="Banshee.ThickClient" version="1.0"/>
   </Dependencies>
 
-  <Extension path="/Banshee/ThickClient/ContextPage">
+  <Extension path="/Banshee/ThickClient/ContextPane">
     <ContextPage class="Banshee.Wikipedia.ContextPage"/>
   </Extension>
 



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