diff -r 801289962f4e -r 57179e4cdadd PluginManager/PluginRepositoryDialog.py --- a/PluginManager/PluginRepositoryDialog.py Mon Oct 14 20:08:19 2013 +0200 +++ b/PluginManager/PluginRepositoryDialog.py Tue Oct 15 18:29:32 2013 +0200 @@ -70,8 +70,8 @@ self.__downloadButton = self.buttonBox.addButton( self.trUtf8("Download"), QDialogButtonBox.ActionRole) self.__downloadButton.setEnabled(False) - self.__downloadInstallButton = \ - self.buttonBox.addButton(self.trUtf8("Download && Install"), + self.__downloadInstallButton = self.buttonBox.addButton( + self.trUtf8("Download && Install"), QDialogButtonBox.ActionRole) self.__downloadInstallButton.setEnabled(False) self.__downloadCancelButton = self.buttonBox.addButton( @@ -169,7 +169,8 @@ return self.urlEdit.setText(current.data(0, urlRole) or "") - self.descriptionEdit.setPlainText(current.data(0, descrRole) and \ + self.descriptionEdit.setPlainText( + current.data(0, descrRole) and \ self.__formatDescription(current.data(0, descrRole)) or "") self.authorEdit.setText(current.data(0, authorRole) or "") @@ -270,7 +271,8 @@ else: ui = None if ui and ui.notificationsEnabled(): - ui.showNotification(UI.PixmapCache.getPixmap("plugin48.png"), + ui.showNotification( + UI.PixmapCache.getPixmap("plugin48.png"), self.trUtf8("Download Plugin Files"), self.trUtf8("""The requested plugins were downloaded.""")) @@ -337,7 +339,8 @@ .format(self.pluginRepositoryFile)) else: self.__repositoryMissing = True - QTreeWidgetItem(self.repositoryList, + QTreeWidgetItem( + self.repositoryList, ["", self.trUtf8( "No plugin repository file available.\nSelect Update.") ])