Changeset d23c56219b38…
Parent 6c19c618fc0b…
by
Changes to one file · Browse files at d23c56219b38 Showing diff from parent 6c19c618fc0b Diff from another changeset...
@@ -60,7 +60,7 @@ QtGui.QMainWindow.__init__(self)
HgDialogMixin.__init__(self)
- self.setWindowTitle('TortoiseHg Workbench: %s' % os.path.abspath(self.repo.root))
+ self.setWindowTitle('TortoiseHg Workbench')
self.menubar.hide()
self.createActions()
@@ -76,6 +76,12 @@
self.textview_header.commitsignal.connect(self.commit)
+ # set name of current tab to repo name
+ reponame = os.path.basename(self.repo.root)
+ tw = self.repoTabsWidget
+ idx = tw.currentIndex()
+ tw.setTabText(idx, reponame)
+
# setup tables and views
self.setupHeaderTextview()
connect(self.textview_status, SIGNAL('fileDisplayed'),
|
Loading...