qgis/Quantum-GIS — pull request #294 by tqhien (2012-10-15 16:05:34+00:00)
Title: Pluginlegend customize

Hello,

I created a new branch to allow customization of plgins in the legend dock.
The plugin should call as in your test plugin (I changed the id to make it more simple):
self.iface.legendInterface().addLegendLayerAction(self.action_add_sel_tiles, "Tile Index", "addSelTiles", QgsMapLayer.VectorLayer )

in order to be enabled.

In customization dialog, it will appears under Docks/Legends/Plugins//

On a right-click on a layer, a submenu named will regroup the actions.

Can you test it and give me a feedback ?

Hien TRAN-QUANG