git-svn-id: http://svn.osgeo.org/qgis/trunk@13742 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
borysiasty 2010-06-17 19:02:08 +00:00
parent 4cac434965
commit b6256d025d
2 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,7 @@ def name():
return "Plugin Installer"
def version():
return "Version 1.0.10"
return "Version 1.0.11"
def description():
return "Downloads and installs QGIS python plugins"

View File

@ -119,6 +119,9 @@ class InstallerPlugin():
# ----------------------------------------- #
def unload(self):
""" remove the menu item and notify label """
# kill pending http requests
for key in repositories.all():
repositories.killConnection(key)
if QGIS_MAJOR_VER: # new plugin API
self.iface.pluginMenu().removeAction(self.action)
else: # old plugin API