[QGIS Commit] r10818 - trunk/qgis/python/plugins/plugin_installer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon May 18 17:48:54 EDT 2009


Author: borysiasty
Date: 2009-05-18 17:48:54 -0400 (Mon, 18 May 2009)
New Revision: 10818

Modified:
   trunk/qgis/python/plugins/plugin_installer/__init__.py
   trunk/qgis/python/plugins/plugin_installer/installer_data.py
   trunk/qgis/python/plugins/plugin_installer/installer_plugin.py
Log:
Plugin Installer minor fixes

Modified: trunk/qgis/python/plugins/plugin_installer/__init__.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/__init__.py	2009-05-18 15:35:13 UTC (rev 10817)
+++ trunk/qgis/python/plugins/plugin_installer/__init__.py	2009-05-18 21:48:54 UTC (rev 10818)
@@ -14,7 +14,7 @@
   return "Plugin Installer"
 
 def version():
-  return "Version 1.0"
+  return "Version 1.0.1"
 
 def description():
   return "Downloads and installs QGIS python plugins"

Modified: trunk/qgis/python/plugins/plugin_installer/installer_data.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/installer_data.py	2009-05-18 15:35:13 UTC (rev 10817)
+++ trunk/qgis/python/plugins/plugin_installer/installer_data.py	2009-05-18 21:48:54 UTC (rev 10818)
@@ -701,6 +701,7 @@
             self.mPlugins[key]["status"] = "upgradeable"
           else:
             self.mPlugins[key]["status"] = "newer"
+    self.markNews()
 
 
   # ----------------------------------------- #

Modified: trunk/qgis/python/plugins/plugin_installer/installer_plugin.py
===================================================================
--- trunk/qgis/python/plugins/plugin_installer/installer_plugin.py	2009-05-18 15:35:13 UTC (rev 10817)
+++ trunk/qgis/python/plugins/plugin_installer/installer_plugin.py	2009-05-18 21:48:54 UTC (rev 10818)
@@ -88,7 +88,7 @@
         repositories.setRepositoryData(key,"state",3)
 
     for i in plugins.obsoletePlugins:
-      QMessageBox.warning(self.mainWindow(), QCoreApplication.translate("QgsPluginInstaller","QGIS Plugin Conflict:")+" "+plugins.localCache[i]["name"], QCoreApplication.translate("QgsPluginInstaller","The Plugin Installer has detected an obsolete plugin which masks a newer version shipped with this QGIS version. Probably it is a remainder of an older QGIS installation. Please use the Plugin Installer to remove it in order to unmask the instance shipped with this version of QGIS."))
+      QMessageBox.warning(self.mainWindow(), QCoreApplication.translate("QgsPluginInstaller","QGIS Plugin Conflict:")+" "+plugins.localCache[i]["name"], QCoreApplication.translate("QgsPluginInstaller","The Plugin Installer has detected an obsolete plugin which masks a newer version shipped with this QGIS version. This is likely due to files associated with a previous installation of QGIS. Please use the Plugin Installer to remove that older plugin in order to unmask the newer version shipped with this copy of QGIS."))
 
 
   # ----------------------------------------- #



More information about the QGIS-commit mailing list