Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py

changeset 495
b31b0bffa5b0
parent 458
1695e7a2db54
child 536
6d8d39753c82
equal deleted inserted replaced
492:01f3384d535a 495:b31b0bffa5b0
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)

eric ide

mercurial