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: only show both names in title if they are different

Changeset e4ef090cc6f6

Parent aa1408d1708a

by Steve Borho

Changes to one file · Browse files at e4ef090cc6f6 Showing diff from parent aa1408d1708a Diff from another changeset...

 
403
404
405
406
 
407
408
 
 
 
409
410
411
 
403
404
405
 
406
407
408
409
410
411
412
413
414
@@ -403,9 +403,12 @@
  tw.tabBar().show()   if tw.count() == 0:   self.setWindowTitle(_('TortoiseHg Workbench')) - else: + elif w.repo.shortname != w.repo.displayname:   self.setWindowTitle(_('%s - TortoiseHg Workbench - %s') %   (w.repo.shortname, w.repo.displayname)) + else: + self.setWindowTitle(_('%s - TortoiseHg Workbench') % + w.repo.shortname)     def updateToolBarActions(self):   w = self.repoTabsWidget.currentWidget()