[banshee] [InterfaceActionService] Fix compilation with mono-addins 0.3.1



commit 5cb94a39515f54cf2f721e16ce53cee2f9bb6b52
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sun Nov 29 17:29:18 2009 +0100

    [InterfaceActionService] Fix compilation with mono-addins 0.3.1
    
    Use TypeExtensionNode.Id instead of TypeExtensionNode.Type in the debug
    message. TypeExtensionNode.Type was added in mono-addins 0.4.

 .../Banshee.Gui/InterfaceActionService.cs          |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/InterfaceActionService.cs b/src/Core/Banshee.ThickClient/Banshee.Gui/InterfaceActionService.cs
index 814e7fc..a0ac3df 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/InterfaceActionService.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/InterfaceActionService.cs
@@ -217,13 +217,13 @@ namespace Banshee.Gui
                         ActionGroup group = (ActionGroup)node.CreateInstance (typeof (ActionGroup));
                         extension_actions[node.Id] = group;
                         AddActionGroup (group);
-                        Log.DebugFormat ("Extension actions loaded: {0}", node.Type);
+                        Log.DebugFormat ("Extension actions loaded: {0}", node.Id);
                     }
                 } else if (args.Change == ExtensionChange.Remove) {
                     if (extension_actions.ContainsKey (node.Id)) {
                         extension_actions[node.Id].Dispose ();
                         extension_actions.Remove (node.Id);
-                        Log.DebugFormat ("Extension actions unloaded: {0}", node.Type);
+                        Log.DebugFormat ("Extension actions unloaded: {0}", node.Id);
                     }
                 }
             } catch (Exception e) {



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