banshee r5027 - in trunk/banshee: . src/Core/Banshee.Services/Banshee.Sources



Author: gburt
Date: Tue Feb 10 22:26:53 2009
New Revision: 5027
URL: http://svn.gnome.org/viewvc/banshee?rev=5027&view=rev

Log:
2009-02-10  Gabriel Burt  <gabriel burt gmail com>

	* src/Core/Banshee.Services/Banshee.Sources/Source.cs: In the status bar
	use ndashes instead of ", " to separate the elements (BGO #551650)

Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/Source.cs

Modified: trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/Source.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/Source.cs	(original)
+++ trunk/banshee/src/Core/Banshee.Services/Banshee.Sources/Source.cs	Tue Feb 10 22:26:53 2009
@@ -633,6 +633,7 @@
             CurrentStatusFormat = new_status_format;
         }
 
+        private const string STATUS_BAR_SEPARATOR = " \u2013 ";
         public virtual string GetStatusText ()
         {
             StringBuilder builder = new StringBuilder ();
@@ -646,14 +647,14 @@
             builder.AppendFormat (Catalog.GetPluralString ("{0} item", "{0} items", count), count);
             
             if (this is IDurationAggregator && StatusFormatsCount > 0) {
-                builder.Append (", ");
+                builder.Append (STATUS_BAR_SEPARATOR);
                 duration_status_formatters[CurrentStatusFormat] (builder, ((IDurationAggregator)this).Duration);
             }
 
             if (this is IFileSizeAggregator) {
                 long bytes = (this as IFileSizeAggregator).FileSize;
                 if (bytes > 0) {
-                    builder.Append (", ");
+                    builder.Append (STATUS_BAR_SEPARATOR);
                     builder.AppendFormat (new FileSizeQueryValue (bytes).ToUserQuery ());
                 }
             }



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