On 01.10.2009 22:53, Martin Geisler wrote:
> # HG changeset patch
> # User Martin Geisler <m...@lazybytes.net>
> # Date 1254430285 -7200
> # Node ID 310364be9462660c2f6b4eae58f7c75efba9084a
> # Parent  c2583e97e4ceccabb3df0ae4a478a42cbf2384b3
> logview: use Monospace font family for ID column
> 
> diff --git a/tortoisehg/hgtk/logview/treeview.py 
> b/tortoisehg/hgtk/logview/treeview.py
> --- a/tortoisehg/hgtk/logview/treeview.py
> +++ b/tortoisehg/hgtk/logview/treeview.py
> @@ -431,6 +431,7 @@
>          cell = gtk.CellRendererText()
>          cell.set_property("width-chars", 15)
>          cell.set_property("ellipsize", pango.ELLIPSIZE_END)
> +        cell.set_property("family", "Monospace")
>          col = self.tvcolumns['id'] = gtk.TreeViewColumn(_('ID'))
>          col.set_visible(False)
>          col.set_resizable(True)

Ah. What a good idea!

Just tried it. Looks nicer like that.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to