260 self.__isDownloadInstall = False |
259 self.__isDownloadInstall = False |
261 self.__allDownloadedOk = False |
260 self.__allDownloadedOk = False |
262 |
261 |
263 self.__hiddenPlugins = Preferences.getPluginManager("HiddenPlugins") |
262 self.__hiddenPlugins = Preferences.getPluginManager("HiddenPlugins") |
264 |
263 |
|
264 self.on_repositoryList_itemSelectionChanged() |
265 self.__populateList() |
265 self.__populateList() |
266 |
266 |
267 def __reachabilityChanged(self, reachability): |
267 def __reachabilityChanged(self, reachability): |
268 """ |
268 """ |
269 Private slot handling reachability state changes. |
269 Private slot handling reachability state changes. |
436 """ |
436 """ |
437 enable = bool(self.__selectedItems()) |
437 enable = bool(self.__selectedItems()) |
438 self.__downloadButton.setEnabled(enable and self.__online) |
438 self.__downloadButton.setEnabled(enable and self.__online) |
439 self.__downloadInstallButton.setEnabled(enable and self.__online) |
439 self.__downloadInstallButton.setEnabled(enable and self.__online) |
440 self.__installButton.setEnabled(enable) |
440 self.__installButton.setEnabled(enable) |
|
441 |
|
442 self.selectedLabel.setText( |
|
443 self.tr("Selected: <b>{0}</b>") |
|
444 .format(len(self.repositoryList.selectedItems())) |
|
445 ) |
441 |
446 |
442 def reloadList(self): |
447 def reloadList(self): |
443 """ |
448 """ |
444 Public method to reload the list of plugins. |
449 Public method to reload the list of plugins. |
445 """ |
450 """ |