eric7/PluginManager/PluginRepositoryDialog.py

branch
eric7
changeset 8930
5e3bd6f49a84
parent 8881
54e42bc2437a
child 9016
6f079c524e99
equal deleted inserted replaced
8929:fcca2fa618bf 8930:5e3bd6f49a84
107 self.__actionButtonsLayout.addWidget(self.__updateButton) 107 self.__actionButtonsLayout.addWidget(self.__updateButton)
108 108
109 self.__downloadButton = QToolButton(self) 109 self.__downloadButton = QToolButton(self)
110 self.__downloadButton.setIcon(UI.PixmapCache.getIcon("download")) 110 self.__downloadButton.setIcon(UI.PixmapCache.getIcon("download"))
111 self.__downloadButton.setToolTip(self.tr("Download")) 111 self.__downloadButton.setToolTip(self.tr("Download"))
112 self.__updateButton.clicked.connect(self.__downloadButtonClicked) 112 self.__downloadButton.clicked.connect(self.__downloadButtonClicked)
113 self.__actionButtonsLayout.addWidget(self.__downloadButton) 113 self.__actionButtonsLayout.addWidget(self.__downloadButton)
114 114
115 self.__downloadInstallButton = QToolButton(self) 115 self.__downloadInstallButton = QToolButton(self)
116 self.__downloadInstallButton.setIcon( 116 self.__downloadInstallButton.setIcon(
117 UI.PixmapCache.getIcon("downloadPlus")) 117 UI.PixmapCache.getIcon("downloadPlus"))
402 if status: 402 if status:
403 self.__pluginsDownloaded.append(filename) 403 self.__pluginsDownloaded.append(filename)
404 if self.__isDownloadInstall: 404 if self.__isDownloadInstall:
405 self.__allDownloadedOk &= status 405 self.__allDownloadedOk &= status
406 406
407 self.__pluginsToDownload.pop(0) 407 if len(self.__pluginsToDownload):
408 self.__pluginsToDownload.pop(0)
409
408 if len(self.__pluginsToDownload): 410 if len(self.__pluginsToDownload):
409 self.__downloadPlugin() 411 self.__downloadPlugin()
410 else: 412 else:
411 self.__downloadPluginsDone() 413 self.__downloadPluginsDone()
412 414

eric ide

mercurial