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

workbench: set name of repo tab

setting the current tab for now, we'll need to refactor this later

Changeset d23c56219b38

Parent 6c19c618fc0b

by Adrian Buehlmann

Changes to one file · Browse files at d23c56219b38 Showing diff from parent 6c19c618fc0b Diff from another changeset...

 
60
61
62
63
 
64
65
66
 
76
77
78
 
 
 
 
 
 
79
80
81
 
60
61
62
 
63
64
65
66
 
76
77
78
79
80
81
82
83
84
85
86
87
@@ -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'),