Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

status: use color font for hunk selection summary

There weren't many other markup options beyond italics. GTK
ignored the 'big' tag on XP, the font was already bold, sub
and superscript just look wierd, it's already monospace,
underline looked bad (and strikeout was right out).

Changeset f4b677864b9b

Parent 6a5cf952fbc0

by Steve Borho

Changes to one file · Browse files at f4b677864b9b Showing diff from parent 6a5cf952fbc0 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​hgshelve.py Stacked
 
116
117
118
119
120
 
 
 
121
 
122
123
124
 
116
117
118
 
 
119
120
121
122
123
124
125
126
@@ -116,9 +116,11 @@
  if selected(i):   shunks += 1   slines += h.added + h.removed - str += _('<i>total: %d hunks (%d changed lines); ' - 'selected: %d hunks (%d changed lines)</i>') % (hunks, + str += "<span foreground='#000088'>" + str += _('total: %d hunks (%d changed lines); ' + 'selected: %d hunks (%d changed lines)') % (hunks,   lines, shunks, slines) + str += "</span>"   break   str += hglib.toutf(h)   return str