[banshee] [Banshee.Gui.Widgets] Wrap instead of Elipsize titled list title



commit f3a613276f5d3e485e8d5009f0dd9f308882be67
Author: Alex Launi <alex launi gmail com>
Date:   Wed Jun 16 23:47:05 2010 -0400

    [Banshee.Gui.Widgets] Wrap instead of Elipsize titled list title
    
    The titled list title on some of the last.fm pages would elipsize,
    hiding the artist name. Wrapping solves this while still being
    visually pleasing (bgo#621955)
    
    Signed-off-by: Gabriel Burt <gabriel burt gmail com>

 .../Banshee.Gui.Widgets/TitledList.cs              |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TitledList.cs b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TitledList.cs
index afc9e92..c85affb 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TitledList.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/TitledList.cs
@@ -52,7 +52,9 @@ namespace Banshee.Gui.Widgets
         {
             title = new Label ();
             title.Xalign = 0;
-            title.Ellipsize = Pango.EllipsizeMode.End;
+            title.Wrap = true;
+            title.Layout.Wrap = Pango.WrapMode.Word;
+            title.Ellipsize = Pango.EllipsizeMode.None;
             Title = title_str;
 
             PackStart (title, false, false, 0);



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