Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9.1, 0.9.1.1, and 0.9.2

stable changeset: respect 'gtools.fontdiff' setting

'gtools.fontdiff' setting is disabled by 'mono' tag since it contains
a property of font family 'Monospace'. 'self.fontdiff' value is initialized
with 'monospace 10' in GDialog._parse_config() method.

This issue is originally reported by akihirox.

Changeset e6ba89bed03a

Parent 4395e2ee6c5f

by Yuki KODAMA

Changes to one file · Browse files at e6ba89bed03a Showing diff from parent 4395e2ee6c5f Diff from another changeset...

 
301
302
303
304
 
305
306
307
 
325
326
327
328
 
329
330
331
 
714
715
716
717
 
718
719
 
720
721
722
 
301
302
303
 
304
305
306
307
 
325
326
327
 
328
329
330
331
 
714
715
716
 
717
718
 
719
720
721
722
@@ -301,7 +301,7 @@
    sob, eob = buf.get_bounds()   pos = buf.get_iter_at_offset(offset) - buf.apply_tag_by_name('mono', pos, eob) + buf.apply_tag_by_name('diff', pos, eob)   return True     def append_patch_diff(self, patchfile): @@ -325,7 +325,7 @@
    sob, eob = buf.get_bounds()   pos = buf.get_iter_at_offset(offset) - buf.apply_tag_by_name('mono', pos, eob) + buf.apply_tag_by_name('diff', pos, eob)     def append_all_patch_diffs(self):   model = self._filelist @@ -714,9 +714,9 @@
  paragraph_background='#F0F0F0'))   tag_table.add(make_texttag('parenthl', foreground='#000090',   paragraph_background='#F0F0F0', - weight=pango.WEIGHT_BOLD )) + weight=pango.WEIGHT_BOLD))   - tag_table.add(make_texttag('mono', family='Monospace')) + tag_table.add(make_texttag('diff', font=self.fontdiff))   tag_table.add(make_texttag('blue', foreground='blue'))   tag_table.add(make_texttag('red', foreground='red'))   tag_table.add(make_texttag('green', foreground='darkgreen'))