[banshee: 25/27] [lastfm] Change the casing in the addin ids



commit e0fad5caf058fa165f5f2346edfe3b8bbd94cee2
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Sat May 22 20:09:41 2010 +0200

    [lastfm] Change the casing in the addin ids
    
    Change from LastFm to Lastfm to be consistent with the namespaces
    casing.

 .../Banshee.Lastfm/Banshee.Lastfm.addin.xml        |    2 +-
 .../Banshee.Lastfm/LastfmPreferences.cs            |    2 +-
 .../Banshee.Lastfm/Banshee.Lastfm/LastfmSource.cs  |    3 ++-
 .../Banshee.LastfmStreaming.addin.xml              |    4 ++--
 4 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml
index 333baa4..408cfa9 100644
--- a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml
+++ b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.addin.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Addin 
-    id="Banshee.LastFm"
+    id="Banshee.Lastfm"
     version="1.0"
     compatVersion="1.0"
     copyright="© 2008 Novell Inc. Licensed under the MIT X11 license."
diff --git a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmPreferences.cs b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmPreferences.cs
index 6090fb0..0a1261d 100644
--- a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmPreferences.cs
+++ b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmPreferences.cs
@@ -216,7 +216,7 @@ namespace Banshee.Lastfm
                 source.Account.UserName = LastfmSource.LastUserSchema.Get ();
                 source.Account.Save ();
                 var streaming_addin = AddinManager.Registry.GetAddins ()
-                    .Single (a => a.LocalId.Equals("Banshee.LastFmStreaming"));
+                    .Single (a => a.LocalId.Equals ("Banshee.LastfmStreaming"));
                 if (source.Account.Subscriber &&
                     streaming_addin != null &&
                     !streaming_addin.Enabled) {
diff --git a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmSource.cs b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmSource.cs
index 6bfa98c..dd8f354 100644
--- a/src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmSource.cs
+++ b/src/Extensions/Banshee.Lastfm/Banshee.Lastfm/LastfmSource.cs
@@ -116,7 +116,8 @@ namespace Banshee.Lastfm
             ServiceManager.SourceManager.AddSource (this);
 
             if (FirstRunSchema.Get ()) {
-                var streaming_addin = AddinManager.Registry.GetAddins ().Single (a => a.LocalId.Equals("Banshee.LastFmStreaming"));
+                var streaming_addin = AddinManager.Registry.GetAddins ()
+                    .Single (a => a.LocalId.Equals ("Banshee.LastfmStreaming"));
                 if (streaming_addin != null) {
                     streaming_addin.Enabled = Account.Subscriber;
                 }
diff --git a/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.addin.xml b/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.addin.xml
index 20462bc..e6318d9 100644
--- a/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.addin.xml
+++ b/src/Extensions/Banshee.LastfmStreaming/Banshee.LastfmStreaming.addin.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Addin 
-    id="Banshee.LastFmStreaming"
+    id="Banshee.LastfmStreaming"
     version="1.0"
     compatVersion="1.0"
     copyright="© 2010 Novell Inc. Licensed under the MIT X11 license."
@@ -14,7 +14,7 @@
   <Dependencies>
     <Addin id="Banshee.Services" version="1.0"/>
     <Addin id="Banshee.ThickClient" version="1.0"/>
-    <Addin id="Banshee.LastFm" version="1.0"/>
+    <Addin id="Banshee.Lastfm" version="1.0"/>
   </Dependencies>
 
   <Extension path="/Banshee/ServiceManager/Service">



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