Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

treemodel: use bold font for wc parent summary

Changeset be0976c8fc8f

Parent e5ff12ef12e6

by Steve Borho

Changes to 2 files · Browse files at be0976c8fc8f Showing diff from parent e5ff12ef12e6 Diff from another changeset...

 
130
131
132
133
134
135
136
 
141
142
143
144
 
 
 
 
145
146
147
 
130
131
132
 
133
134
135
 
140
141
142
 
143
144
145
146
147
148
149
@@ -130,7 +130,6 @@
  for branch in inbranches:   branchstr += branch['name']   -   if '<' in ctx.user():   author = toutf(self.author_re.sub('', ctx.user()).strip(' '))   else: @@ -141,7 +140,10 @@
  wc_parent = revid in self.parents   head = revid in self.heads   color = self.color_func(parents, revid, author) - sumstr = bstr + tstr + summary + if wc_parent: + sumstr = bstr + tstr + '<b><u>' + summary + '</u></b>' + else: + sumstr = bstr + tstr + summary     revision = (None, node, revid, None, sumstr,   author, date, None, parents, wc_parent, head, taglist,
 
387
388
389
390
391
392
393
 
387
388
389
 
390
391
392
@@ -387,7 +387,6 @@
  self.msg_column.pack_end(cell, expand=True)   self.msg_column.add_attribute(cell, "foreground", treemodel.FGCOLOR)   self.msg_column.add_attribute(cell, "markup", treemodel.MESSAGE) - self.msg_column.add_attribute(cell, "underline", treemodel.WCPARENT)   self.treeview.append_column(self.msg_column)     cell = gtk.CellRendererText()