blam r561 - trunk/src



Author: cmartin
Date: Wed Apr 23 20:24:25 2008
New Revision: 561
URL: http://svn.gnome.org/viewvc/blam?rev=561&view=rev

Log:
Ellipsize the feed name if necessary.


Modified:
   trunk/src/ChannelList.cs

Modified: trunk/src/ChannelList.cs
==============================================================================
--- trunk/src/ChannelList.cs	(original)
+++ trunk/src/ChannelList.cs	Wed Apr 23 20:24:25 2008
@@ -45,6 +45,7 @@
 
             nameColumn.PackStart(cell, true);
             nameColumn.Sizing = TreeViewColumnSizing.Autosize;
+            nameColumn.Expand = true;
             nameColumn.SetCellDataFunc(cell, new TreeCellDataFunc(NamesCellDataFunc));
 
             AppendColumn(nameColumn);
@@ -278,6 +279,7 @@
                 weight = (int)Pango.Weight.Bold;
             }
 
+            (cell as CellRendererText).Ellipsize = Pango.EllipsizeMode.End;
             (cell as CellRendererText).Weight = weight;
         }
 



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