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 bold font weight for header chunks

Changeset a392c78c99f9

Parent 30855f5c287c

by Steve Borho

Changes to one file · Browse files at a392c78c99f9 Showing diff from parent 30855f5c287c Diff from another changeset...

Change 1 of 3 Show Entire File hggtk/​status.py Stacked
 
335
336
337
338
339
340
341
 
353
354
355
 
 
356
357
358
 
928
929
930
931
 
932
933
934
 
335
336
337
 
338
339
340
 
352
353
354
355
356
357
358
359
 
929
930
931
 
932
933
934
935
@@ -335,7 +335,6 @@
  pango.FontDescription)   self.diff_tree = gtk.TreeView(self.diff_model)   self.diff_tree.get_selection().set_mode(gtk.SELECTION_MULTIPLE) - self.diff_tree.modify_font(self.difffont)   self.diff_tree.set_headers_visible(False)   self.diff_tree.set_property('enable-grid-lines', True)   self.diff_tree.connect('row-activated', @@ -353,6 +352,8 @@
  # differentiate header chunks   cell.set_property('cell-background', '#DDDDDD')   diffcol.add_attribute(cell, 'cell_background_set', DM_IS_HEADER) + self.headerfont = self.difffont.copy() + self.headerfont.set_weight(pango.WEIGHT_HEAVY)     # differentiate rejected hunks   self.rejfont = self.difffont.copy() @@ -928,7 +929,7 @@
  for f in chunk.files():   self._filechunks[f] = [len(self.diff_model)]   row = [False, markedup, text, markedup, - True, n, self.difffont] + True, n, self.headerfont]   self.diff_model.append(row)   skip = chunk.special()   elif skip != True: