50 self.refreshButton.setEnabled(False) |
50 self.refreshButton.setEnabled(False) |
51 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
51 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) |
52 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
52 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) |
53 |
53 |
54 self.vcs = vcs |
54 self.vcs = vcs |
55 self.connect(self.vcs, SIGNAL("committed()"), self.__committed) |
55 self.vcs.committed.connect(self.__committed) |
56 |
56 |
57 self.statusList.headerItem().setText(self.__lastColumn, "") |
57 self.statusList.headerItem().setText(self.__lastColumn, "") |
58 self.statusList.header().setSortIndicator(self.__pathColumn, Qt.AscendingOrder) |
58 self.statusList.header().setSortIndicator(self.__pathColumn, Qt.AscendingOrder) |
59 if pysvn.svn_version < (1, 5, 0) or pysvn.version < (1, 6, 0): |
59 if pysvn.svn_version < (1, 5, 0) or pysvn.version < (1, 6, 0): |
60 self.statusList.header().hideSection(self.__changelistColumn) |
60 self.statusList.header().hideSection(self.__changelistColumn) |