Plugin Installer update: fix reenabling disabled repositories

git-svn-id: http://svn.osgeo.org/qgis/trunk@11789 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
borysiasty 2009-10-10 07:25:42 +00:00
parent fbf34d27d5
commit d650055e88
2 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ def name():
return "Plugin Installer"
def version():
return "Version 1.0.4"
return "Version 1.0.5"
def description():
return "Downloads and installs QGIS python plugins"

View File

@ -338,7 +338,8 @@ class QgsPluginInstallerDialog(QDialog, Ui_QgsPluginInstallerDialogBase):
a.setToolTip(0,self.tr("This repository is disabled"))
else:
a.setToolTip(0,self.tr("This repository is blocked due to incompatibility with your Quantum GIS version"))
a.setDisabled(True)
for i in [0,1,2]:
a.setForeground(i,QBrush(QColor(Qt.gray)))
for i in [0,1,2]:
self.treeRepositories.resizeColumnToContents(i)
self.comboFilter1.addItem(self.tr("orphans"))