[banshee] [ThickClient] Fix name ellipsizing in SourceView



commit 518fee08642f50c6e3b3c3c5f5aa3342a8278a16
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Mon Nov 1 13:02:05 2010 -0500

    [ThickClient] Fix name ellipsizing in SourceView

 .../Banshee.Sources.Gui/SourceRowRenderer.cs       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs
index 6e96ee0..b8337ac 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Sources.Gui/SourceRowRenderer.cs
@@ -245,8 +245,8 @@ namespace Banshee.Sources.Gui
             }
 
             // Hide the count if the title has no space
-            max_title_layout_width = cell_area.Width - (icon == null ? 0 : icon.Width) - count_layout_width - 10;
-            if (!hide_count && max_title_layout_width < 0) {
+            max_title_layout_width = cell_area.Width - x - count_layout_width;//(icon == null ? 0 : icon.Width) - count_layout_width - 10;
+            if (!hide_count && max_title_layout_width <= 0) {
                 hide_count = true;
             }
 



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