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

moving setup_font_substitutions() call to run.qtrun()

enables monospace font working in preview tab of email dialog

Changeset fa14cbe27620

Parent 41d4aa3aec01

by Adrian Buehlmann

Changes to 2 files · Browse files at fa14cbe27620 Showing diff from parent 41d4aa3aec01 Diff from another changeset...

 
26
27
28
 
29
30
31
 
296
297
298
 
 
299
300
301
 
26
27
28
29
30
31
32
 
297
298
299
300
301
302
303
304
@@ -26,6 +26,7 @@
 from tortoisehg.util.i18n import agettext as _  from tortoisehg.util import hglib, paths, shlib  from tortoisehg.util import version as thgversion +from tortoisehg.hgqt import setup_font_substitutions  try:   from tortoisehg.util.config import nofork as config_nofork  except ImportError: @@ -296,6 +297,8 @@
 def qtrun(dlgfunc, ui, *args, **opts):   portable_fork(ui, opts)   + setup_font_substitutions() +   global mainapp   if mainapp:   dlg = dlgfunc(ui, *args, **opts)
 
559
560
561
562
563
564
565
566
567
 
559
560
561
 
 
 
562
563
564
@@ -559,9 +559,6 @@
  s.setValue(wb + n, getattr(self, n).saveState())    def run(ui, *pats, **opts): - from tortoisehg.hgqt import setup_font_substitutions - setup_font_substitutions() -   repo = None   root = paths.find_root()   if root: