Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.3, 2.0, and 2.0.1

stable workbench: give reasonable window title to file log dialog

Changeset 53d570c1ebf3

Parent bbf6498acc5b

by Steve Borho

Changes to one file · Browse files at 53d570c1ebf3 Showing diff from parent bbf6498acc5b Diff from another changeset...

 
695
696
697
698
 
 
 
 
 
 
699
700
701
 
695
696
697
 
698
699
700
701
702
703
704
705
706
@@ -695,7 +695,12 @@
  pats = hglib.canonpaths(pats)   if len(pats) == 1 and os.path.isfile(repo.wjoin(pats[0])):   from tortoisehg.hgqt.filedialogs import FileLogDialog - return FileLogDialog(repo, pats[0], None) + fname = pats[0] + ufname = hglib.tounicode(fname) + dlg = FileLogDialog(repo, fname, None) + dlg.setWindowTitle(_('Hg file log viewer [%s] - %s') % ( + repo.displayname, ufname)) + return dlg   w = Workbench()   if root:   root = hglib.tounicode(root)