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

changeset: courier font for rev num and hash, remove italics

Changeset 431f8f9e66fe

Parent 5f042776ca83

by Adrian Buehlmann

Changes to one file · Browse files at 431f8f9e66fe Showing diff from parent 5f042776ca83 Diff from another changeset...

 
25
26
27
 
 
 
 
 
 
28
29
30
 
103
104
105
106
 
 
107
108
109
 
145
146
147
148
 
149
150
151
 
160
161
162
163
 
164
165
166
 
170
171
172
173
 
174
175
176
 
25
26
27
28
29
30
31
32
33
34
35
36
 
109
110
111
 
112
113
114
115
116
 
152
153
154
 
155
156
157
158
 
167
168
169
 
170
171
172
173
 
177
178
179
 
180
181
182
183
@@ -25,6 +25,12 @@
   from tortoisehg.hgqt.config import HgConfig   +headerstyle = ''' +<style type="text/css"> +.rev_number { font-family:Courier; } +.rev_hash { font-family:Courier; } +</style> +'''    class RevDisplay(QtGui.QWidget):   """ @@ -103,7 +109,8 @@
  def refreshDisplay(self):   ctx = self.ctx   rev = ctx.rev() - buf = "<table width=100%>\n" + buf = headerstyle + buf += "<table width=100%>\n"   if self.mqpatch:   buf += '<tr bgcolor=%s>' % HgConfig(ctx._repo.ui).getMQFGColor()   buf += '<td colspan=3 width=100%><b>Patch queue:</b>&nbsp;' @@ -145,7 +152,7 @@
  p_rev = p_fmt % ('<a href="diff_%s" class="rev_diff">%s</a>' % (p_rev, p_rev), p_rev, short)   buf += '<tr><td width=50 class="label"><b>Parent:</b></td>'\   '<td colspan=5>%s&nbsp;'\ - '<span class="short_desc"><i>%s</i></span></td></tr>'\ + '<span class="short_desc">%s</span></td></tr>'\   '\n' % (p_rev, desc)   if len(parents) == 2:   p = parents[0].ancestor(parents[1]) @@ -160,7 +167,7 @@
  p_rev = p_fmt % ('<a href="diff_%s" class="rev_diff">%s</a>' % (p_rev, p_rev), p_rev, short)   buf += '<tr><td width=50 class="label"><b>Ancestor:</b></td>'\   '<td colspan=5>%s&nbsp;'\ - '<span class="short_desc"><i>%s</i></span></td></tr>'\ + '<span class="short_desc">%s</span></td></tr>'\   '\n' % (p_rev, desc)     for p in ctx.children(): @@ -170,7 +177,7 @@
  buf += '<tr><td class="label"><b>Child:</b></td>'\   '<td colspan=5><span class="rev_number">%d</span>:'\   '<a href="%s" class="rev_hash">%s</a>&nbsp;'\ - '<span class="short_desc"><i>%s</i></span></td></tr>'\ + '<span class="short_desc">%s</span></td></tr>'\   '\n' % (p.rev(), p.rev(), short, desc)     buf += "</table>\n"