PluginManager/PluginRepositoryDialog.py

changeset 3034
7ce719013078
parent 3022
57179e4cdadd
child 3036
30c81c9e88b8
equal deleted inserted replaced
3033:58fe260e7469 3034:7ce719013078
168 if self.__repositoryMissing or current is None: 168 if self.__repositoryMissing or current is None:
169 return 169 return
170 170
171 self.urlEdit.setText(current.data(0, urlRole) or "") 171 self.urlEdit.setText(current.data(0, urlRole) or "")
172 self.descriptionEdit.setPlainText( 172 self.descriptionEdit.setPlainText(
173 current.data(0, descrRole) and \ 173 current.data(0, descrRole) and
174 self.__formatDescription(current.data(0, descrRole)) or "") 174 self.__formatDescription(current.data(0, descrRole)) or "")
175 self.authorEdit.setText(current.data(0, authorRole) or "") 175 self.authorEdit.setText(current.data(0, authorRole) or "")
176 176
177 def __selectedItems(self): 177 def __selectedItems(self):
178 """ 178 """
333 else: 333 else:
334 E5MessageBox.critical( 334 E5MessageBox.critical(
335 self, 335 self,
336 self.trUtf8("Read plugins repository file"), 336 self.trUtf8("Read plugins repository file"),
337 self.trUtf8("<p>The plugins repository file <b>{0}</b> " 337 self.trUtf8("<p>The plugins repository file <b>{0}</b> "
338 "could not be read. Select Update</p>")\ 338 "could not be read. Select Update</p>")
339 .format(self.pluginRepositoryFile)) 339 .format(self.pluginRepositoryFile))
340 else: 340 else:
341 self.__repositoryMissing = True 341 self.__repositoryMissing = True
342 QTreeWidgetItem( 342 QTreeWidgetItem(
343 self.repositoryList, 343 self.repositoryList,

eric ide

mercurial