Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

thgmq: add 'status' column

Changeset 9b109409d761

Parent 29f2c82aacc0

by Yuki KODAMA

Changes to one file · Browse files at 9b109409d761 Showing diff from parent 29f2c82aacc0 Diff from another changeset...

Change 1 of 4 Show Entire File hggtk/​thgmq.py Stacked
 
33
34
35
 
 
 
 
 
36
37
38
 
179
180
181
 
182
183
184
 
546
547
548
 
549
550
551
 
593
594
595
 
 
596
597
598
 
33
34
35
36
37
38
39
40
41
42
43
 
184
185
186
187
188
189
190
 
552
553
554
555
556
557
558
 
600
601
602
603
604
605
606
607
@@ -33,6 +33,11 @@
  'Show index column',   False,   gobject.PARAM_READWRITE), + 'status-column-visible': (gobject.TYPE_BOOLEAN, + 'Status', + 'Show status column', + False, + gobject.PARAM_READWRITE),   'name-column-visible': (gobject.TYPE_BOOLEAN,   'Name',   'Show name column', @@ -179,6 +184,7 @@
  self.qrename(newname, patch=patchname)     addcol(_('#'), MQ_INDEX, right=True) + addcol(_('st'), MQ_STATUS)   addcol(_('Name'), MQ_NAME, editfunc=cell_edited)   addcol(_('Summary'), MQ_SUMMARY, resizable=True)   @@ -546,6 +552,7 @@
  self.vmenu = {}     colappend(_('Show index'), MQ_INDEX) + colappend(_('Show status'), MQ_STATUS, active=False)   colappend(_('Show name'), MQ_NAME)   colappend(_('Show summary'), MQ_SUMMARY, active=False)   @@ -593,6 +600,8 @@
  def col_to_prop(self, col_idx):   if col_idx == MQ_INDEX:   return 'index-column-visible' + if col_idx == MQ_STATUS: + return 'status-column-visible'   elif col_idx == MQ_NAME:   return 'name-column-visible'   elif col_idx == MQ_SUMMARY: