PluginManager/PluginRepositoryDialog.py

changeset 3676
2f62b060a931
parent 3670
f0cb7579c0b4
child 4021
195a471c327b
equal deleted inserted replaced
3675:aa48d3e9b008 3676:2f62b060a931
89 QDialogButtonBox.ActionRole) 89 QDialogButtonBox.ActionRole)
90 self.__downloadCancelButton.setEnabled(False) 90 self.__downloadCancelButton.setEnabled(False)
91 self.__installButton.setEnabled(False) 91 self.__installButton.setEnabled(False)
92 92
93 self.repositoryUrlEdit.setText( 93 self.repositoryUrlEdit.setText(
94 Preferences.getUI("PluginRepositoryUrl5")) 94 Preferences.getUI("PluginRepositoryUrl6"))
95 95
96 self.repositoryList.headerItem().setText( 96 self.repositoryList.headerItem().setText(
97 self.repositoryList.columnCount(), "") 97 self.repositoryList.columnCount(), "")
98 self.repositoryList.header().setSortIndicator(0, Qt.AscendingOrder) 98 self.repositoryList.header().setSortIndicator(0, Qt.AscendingOrder)
99 99
359 reader.readXML() 359 reader.readXML()
360 self.repositoryList.resizeColumnToContents(0) 360 self.repositoryList.resizeColumnToContents(0)
361 self.repositoryList.resizeColumnToContents(1) 361 self.repositoryList.resizeColumnToContents(1)
362 self.repositoryList.resizeColumnToContents(2) 362 self.repositoryList.resizeColumnToContents(2)
363 self.__resortRepositoryList() 363 self.__resortRepositoryList()
364 url = Preferences.getUI("PluginRepositoryUrl5") 364 url = Preferences.getUI("PluginRepositoryUrl6")
365 if url != self.repositoryUrlEdit.text(): 365 if url != self.repositoryUrlEdit.text():
366 self.repositoryUrlEdit.setText(url) 366 self.repositoryUrlEdit.setText(url)
367 E5MessageBox.warning( 367 E5MessageBox.warning(
368 self, 368 self,
369 self.tr("Plugins Repository URL Changed"), 369 self.tr("Plugins Repository URL Changed"),

eric ide

mercurial