[QGIS Commit] r9271 - in trunk/qgis: python/plugins/mapserver_export src/plugins/ogr_converter

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Sep 6 14:12:57 EDT 2008


Author: telwertowski
Date: 2008-09-06 14:12:57 -0400 (Sat, 06 Sep 2008)
New Revision: 9271

Modified:
   trunk/qgis/python/plugins/mapserver_export/mapserverexport.py
   trunk/qgis/src/plugins/ogr_converter/plugin.cpp
Log:
Fix unload. String argument used to remove menu must match string used to add it.


Modified: trunk/qgis/python/plugins/mapserver_export/mapserverexport.py
===================================================================
--- trunk/qgis/python/plugins/mapserver_export/mapserverexport.py	2008-09-06 07:04:59 UTC (rev 9270)
+++ trunk/qgis/python/plugins/mapserver_export/mapserverexport.py	2008-09-06 18:12:57 UTC (rev 9271)
@@ -48,7 +48,7 @@
 
   def unload(self):
     # Remove the plugin menu item and icon
-    self.iface.removePluginMenu("&Zoom to Point...",self.action)
+    self.iface.removePluginMenu("&MapServer Export...",self.action)
     self.iface.removeToolBarIcon(self.action)
 
   # run method that performs all the real work

Modified: trunk/qgis/src/plugins/ogr_converter/plugin.cpp
===================================================================
--- trunk/qgis/src/plugins/ogr_converter/plugin.cpp	2008-09-06 07:04:59 UTC (rev 9270)
+++ trunk/qgis/src/plugins/ogr_converter/plugin.cpp	2008-09-06 18:12:57 UTC (rev 9271)
@@ -90,7 +90,7 @@
   //OGRCleanupAll();
 
   // remove the GUI
-  mQGisIface->removePluginMenu( "&OGR Layer Converter", mQActionPointer );
+  mQGisIface->removePluginMenu( "OG&R Converter", mQActionPointer );
   mQGisIface->removeToolBarIcon( mQActionPointer );
   delete mQActionPointer;
 }



More information about the QGIS-commit mailing list