[banshee/better-now-playing] [PlayQueueSource] Use localized name as special name



commit e6a2706e769277df72d268b2a3fd9b289b41148d
Author: Bertrand Lorentz <bertrand lorentz gmail com>
Date:   Wed Jun 16 23:08:26 2010 +0200

    [PlayQueueSource] Use localized name as special name
    
    Use the translation of "Play Queue" as the special name to recognize the
    playlist in the CorePlaylists table, so that it's the same value as the
    playlist name. If we don't do that, confusion arises and the content of
    the play queue is lost between restarts when using a non english locale.
    Fixes bgo#621480.

 .../Banshee.PlayQueue/PlayQueueSource.cs           |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs b/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
index bb7a9c3..84ce2e2 100644
--- a/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
+++ b/src/Extensions/Banshee.PlayQueue/Banshee.PlayQueue/PlayQueueSource.cs
@@ -55,7 +55,7 @@ namespace Banshee.PlayQueue
 {
     public class PlayQueueSource : PlaylistSource, IBasicPlaybackController, IPlayQueue, IDBusExportable, IDisposable
     {
-        private static string special_playlist_name = "Play Queue";
+        private static string special_playlist_name = Catalog.GetString ("Play Queue");
 
         private ITrackModelSource prior_playback_source;
         private DatabaseTrackInfo current_track;



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