banshee r4547 - in trunk/banshee: . src/Core/Banshee.Core/Banshee.I18n src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio



Author: gburt
Date: Mon Sep 15 19:53:09 2008
New Revision: 4547
URL: http://svn.gnome.org/viewvc/banshee?rev=4547&view=rev

Log:
2008-09-15  Gabriel Burt  <gabriel burt gmail com>

	* src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationEditor.cs:
	Apply the translation domain fix here too.

	* src/Core/Banshee.Core/Banshee.I18n/Catalog.cs: Add a note about the
	hardcoded "banshee" for if/when we use this class.


Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.Core/Banshee.I18n/Catalog.cs
   trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationEditor.cs

Modified: trunk/banshee/src/Core/Banshee.Core/Banshee.I18n/Catalog.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Core/Banshee.I18n/Catalog.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Core/Banshee.I18n/Catalog.cs	Mon Sep 15 19:53:09 2008
@@ -75,6 +75,7 @@
             IntPtr domain_ptr = domain == null ? IntPtr.Zero : UnixMarshal.StringToHeap (domain);
             
             if (domain == null) {
+                // FIXME banshee-1?
                 IntPtr ptr = UnixMarshal.StringToHeap ("banshee");
                 UnixMarshal.FreeHeap (ptr);
             }

Modified: trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationEditor.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationEditor.cs	(original)
+++ trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationEditor.cs	Mon Sep 15 19:53:09 2008
@@ -55,7 +55,7 @@
         [Widget] private Gtk.Button ok_button;
 
         public StationEditor (LastfmSource lastfm, StationSource source) : base (dialog_name, new Glade.XML (
-            System.Reflection.Assembly.GetExecutingAssembly (), dialog_resource, dialog_name, "banshee"))
+            System.Reflection.Assembly.GetExecutingAssembly (), dialog_resource, dialog_name, Banshee.ServiceStack.Application.InternalName))
         {
             this.lastfm = lastfm;
             this.source = source;
@@ -65,7 +65,7 @@
         }
     
         public StationEditor (LastfmSource lastfm) : base (dialog_name, new Glade.XML (
-            System.Reflection.Assembly.GetExecutingAssembly (), dialog_resource, dialog_name, "banshee"))
+            System.Reflection.Assembly.GetExecutingAssembly (), dialog_resource, dialog_name, Banshee.ServiceStack.Application.InternalName))
         {
             this.lastfm = lastfm;
             Initialize ();



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