[QGIS-trac] Re: [Quantum GIS] #2541: Add canUninstall function to python plugin modules

Quantum GIS qgis at qgis.org
Fri Mar 12 02:37:43 EST 2010


#2541: Add canUninstall function to python plugin modules
------------------------------------------------+---------------------------
        Reporter:  ccrook                       |         Owner:  borysiasty   
            Type:  patch                        |        Status:  assigned     
        Priority:  minor: annoyance             |     Milestone:  Version 1.5.0
       Component:  Python plugins and bindings  |       Version:  HEAD         
      Resolution:                               |      Keywords:               
Platform_version:  1.5                          |      Platform:  All          
        Must_fix:  No                           |   Status_info:  0            
------------------------------------------------+---------------------------
Comment (by borysiasty):

 But what with currently not loaded plugins? Your patch makes it impossible
 to uninstall them without prior loading. Probably such plugin should be
 loaded for a while (without calling initGui) just to test it's safely
 uninstallable. Or, the simplest solution is to always return True for not
 loaded plugins.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2541#comment:3>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list