[banshee] [PlayQueueSource] Use localized name as special name



commit baff045d0cd97d4d8eb800175c3485bbe0cced4f
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]