banshee r4310 - in trunk/banshee: . data/audio-profiles src/Core/Banshee.ThickClient/Banshee.Sources.Gui



Author: gburt
Date: Thu Jul 31 04:40:47 2008
New Revision: 4310
URL: http://svn.gnome.org/viewvc/banshee?rev=4310&view=rev

Log:
2008-07-30  Gabriel Burt  <gabriel burt gmail com>

	* src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceIconResolver.cs:
	Whoops, revert crasher from previous GetString changes.

	* data/audio-profiles/mp3-lame.xml.in: Add 256 kbps as an option.



Modified:
   trunk/banshee/ChangeLog
   trunk/banshee/data/audio-profiles/mp3-lame.xml.in
   trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceIconResolver.cs

Modified: trunk/banshee/data/audio-profiles/mp3-lame.xml.in
==============================================================================
--- trunk/banshee/data/audio-profiles/mp3-lame.xml.in	(original)
+++ trunk/banshee/data/audio-profiles/mp3-lame.xml.in	Thu Jul 31 04:40:47 2008
@@ -63,6 +63,7 @@
             <value value="128">128 Kbps</value>
             <value value="160">160 Kbps</value>
             <value value="192">192 Kbps</value>
+            <value value="256">256 Kbps</value>
             <value value="320">320 Kbps</value>
           </possible-values>
         </variable>

Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceIconResolver.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceIconResolver.cs	(original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceIconResolver.cs	Thu Jul 31 04:40:47 2008
@@ -72,7 +72,7 @@
             if (icon_type == typeof (string)) {
                 icon = IconThemeUtils.LoadIcon (asm, size, source.Properties.Get<string> (name_property));
             } else if (icon_type == typeof (string [])) {
-                icon = IconThemeUtils.LoadIcon (asm, size, source.Properties.Get<string> (name_property));
+                icon = IconThemeUtils.LoadIcon (asm, size, source.Properties.Get<string[]> (name_property));
             }
 
             if (icon == null) {



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