# HG changeset patch
# User Yuya Nishihara <y...@tcha.org>
# Date 1268318294 -32400
# Node ID 401c85f14f3bce8b5e6162ed9f1057804ec325d7
# Parent  00eef565d4565da09df2dc39ed3efe5de0638824
thgconfig: render extension name with underline correctly

This is the same issue as #1004.

diff --git a/tortoisehg/hgtk/thgconfig.py b/tortoisehg/hgtk/thgconfig.py
--- a/tortoisehg/hgtk/thgconfig.py
+++ b/tortoisehg/hgtk/thgconfig.py
@@ -1160,7 +1160,7 @@ class ConfigDialog(gtk.Dialog):
 
         self.extensionschecks = {}
         for name, shortdesc in allexts():
-            ck = gtk.CheckButton(name)
+            ck = gtk.CheckButton(name, use_underline=False)
             ck.connect('toggled', self.dirty_event)
             ck.connect('focus-in-event', self.set_help, shortdesc)
             table.add_row(ck, padding=False)

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to