[Qgis-developer] Re: New Database Menu

Giuseppe Sucameli sucameli at faunalia.it
Sun Nov 14 14:00:40 EST 2010


Hi all,
ERRATA CORRIGE :)
I wrote removePluginToMenu but it's removePluginMenu instead.

On Sun, Nov 14, 2010 at 3:20 PM, Giuseppe Sucameli <sucameli at faunalia.it>wrote:

> (remove from Database menu)
>
> try:
>     self.iface.removePluginDatabaseMenu("&PostGIS", self.action)
> except AttributeError:
>     self.iface.removePluginToMenu("&PostGIS", self.action)
>
it should be:

try:
    self.iface.removePluginDatabaseMenu("&PostGIS", self.action)
except AttributeError:
    self.iface.removePluginMenu("&PostGIS", self.action)

Cheers.

I'm going to move the existent trunk Database plugins to the Database menu
> and
> my (Faunalia) DB plugins too.
>
I moved them yet.

Cheers.

-- 
> Giuseppe Sucameli
>
>


-- 
Giuseppe Sucameli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20101114/41dc0454/attachment.html


More information about the Qgis-developer mailing list