1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed dabc172

verify, recover: use displayname for window title like others

  • Participants
  • Parent commits 3fa987b
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/repowidget.py

View file
  • Ignore whitespace
         cmdline = ['--repository', self.repo.root, 'verify', '--verbose']
         dlg = cmdui.Dialog(cmdline, self)
         dlg.setWindowIcon(qtlib.geticon('hg-verify'))
-        dlg.setWindowTitle(_('%s - verify repository') % self.repo.shortname)
+        dlg.setWindowTitle(_('%s - verify repository') % self.repo.displayname)
         dlg.setWindowFlags(dlg.windowFlags()
             & ~Qt.WindowContextHelpButtonHint
             | Qt.WindowMaximizeButtonHint)
         cmdline = ['--repository', self.repo.root, 'recover', '--verbose']
         dlg = cmdui.Dialog(cmdline, self)
         dlg.setWindowIcon(qtlib.geticon('hg-recover'))
-        dlg.setWindowTitle(_('%s - recover repository') % self.repo.shortname)
+        dlg.setWindowTitle(_('%s - recover repository') % self.repo.displayname)
         dlg.setWindowFlags(dlg.windowFlags()
             & ~Qt.WindowContextHelpButtonHint
             | Qt.WindowMaximizeButtonHint)