# HG changeset patch
# User Adrian Buehlmann <adr...@cadifra.com>
# Date 1259535681 -3600
# Node ID f9ec1095a861a3e017ec8cc1ab265fea95b77176
# Parent  c87c93729fcbee7cc288be0405f2c003dc841edb
thgmq: remove option to hide the patch name

Suppressing the patch name doesn't make sense.
We need some primary indentifier in the queue.

For example, we also use the patch name in the
status line ("Patch 'foo.diff' applied") anyway.

diff --git a/tortoisehg/hgtk/thgmq.py b/tortoisehg/hgtk/thgmq.py
--- a/tortoisehg/hgtk/thgmq.py
+++ b/tortoisehg/hgtk/thgmq.py
@@ -611,7 +611,6 @@ class MQWidget(gtk.VBox):
 
         colappend(_('Show Index'), MQ_INDEX)
         colappend(_('Show Status'), MQ_STATUS, active=False)
-        colappend(_('Show Name'), MQ_NAME)
         colappend(_('Show Summary'), MQ_SUMMARY, active=False)
 
         append(sep=True)
@@ -650,6 +649,8 @@ class MQWidget(gtk.VBox):
             self.emit('repo-invalidated')
 
     def do_get_property(self, property):
+        if property.name == 'name-column-visible':
+            return True
         try:
             return self.vmenu[property.name].get_active()
         except:

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to