Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

csinfo: support multiple items

Changeset fb14d984fbce

Parent fb1a8a6a4b03

by Yuki KODAMA

Changes to one file · Browse files at fb14d984fbce Showing diff from parent fb1a8a6a4b03 Diff from another changeset...

 
510
511
512
 
 
513
514
515
 
567
568
569
570
571
572
573
 
 
 
 
574
575
576
 
510
511
512
513
514
515
516
517
 
569
570
571
 
572
 
 
573
574
575
576
577
578
579
@@ -510,6 +510,8 @@
  return False # cannot update   return True   +PANEL_TMPL = '<tr><td style="padding-right:6px">%s</td><td>%s</td></tr>' +  class SummaryPanel(SummaryBase, QWidget):     def __init__(self, target, style, custom, repo, info): @@ -567,10 +569,11 @@
  if not markups:   continue   label = qtlib.markup(self.get_label(item), weight='bold') - buf += '<tr><td style="padding-right: 6px;">' + label + '</td><td>'   if isinstance(markups, basestring): - markups = (markups,) - buf += ', '.join(markups) + '</td></tr>' + markups = [markups,] + buf += PANEL_TMPL % (label, markups.pop(0)) + for markup in markups: + buf += PANEL_TMPL % ('&nbsp;', markup)   buf += '</table>'   self.revlabel.setText(buf)