[banshee/gtk3] FilteredSourceContents: fix error message when not finding SchemaEntry



commit 637d38138472b5390c2853d92fd0ee44f41ec419
Author: Andres G. Aragoneses <knocte gmail com>
Date:   Wed Mar 13 00:32:07 2013 +0000

    FilteredSourceContents: fix error message when not finding SchemaEntry

 .../FilteredListSourceContents.cs                  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs 
b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs
index e827b38..5b2551d 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/FilteredListSourceContents.cs
@@ -262,7 +262,7 @@ namespace Banshee.Sources.Gui
 
             if (current_entry.Equals (SchemaEntry<int>.Zero)) {
                 throw new InvalidOperationException (String.Format ("No SchemaEntry found for {0} position 
of {1}",
-                                                                    top.ToString (), this.GetType 
().FullName));
+                                                                    top ? "top" : "left", this.GetType 
().FullName));
             }
             container.Position = current_entry.DefaultValue;
             PersistentPaneController.Control (container, current_entry);


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