1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Steve Borho  committed f4b6778

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).

  • Participants
  • Parent commits 6a5cf95
  • Branches default

Comments (0)

Files changed (1)

File hggtk/hgshelve.py

View file
  • Ignore whitespace
                     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