Hi Both, It is occurring to me that I am confusing the layer menu with the layer toolbar.
Although now that I've found the layertoolbar item, I'm still getting some elements that are ignoring the fact I've turned them off (but not all of them). This seems to be an example of Radim's bug. But surely all the "Core" plugins in QGIS should have this (include a ObjectName) as a requirement to be included in QGIS? Isn't this the sort of thing a unit test would catch - as a bonus that way there would be automatic quality control. Cheers, Jonathan On 11 December 2013 15:00, Radim Blazek <[email protected]> wrote: > On Wed, Dec 11, 2013 at 3:07 PM, Thomas Colley > <[email protected]> wrote: > > Hi Jonathan > > > > It seems to be Oracle Raster in particular that can’t be removed. Other > > entries in the mLayerMenu work fine for me (restart needed). > > That's because mQActionPointer in QgsOraclePlugin does not have > objectName. Some (many) plugins do not set objectName on QMenu and > QAction and thus cannot be customized. If there is objectName missing > in tree path to an item, it cannot be customized. > > It was recently discussed > http://lists.osgeo.org/pipermail/qgis-developer/2013-November/029545.html > and there is this issue > http://hub.qgis.org/issues/9134 > > Radim > > > > > > > Is that the same for you? > > > > > > > > Cheers > > > > > > > > Tom > > > > > > > > > > > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Jonathan Moules > > Sent: 11 December 2013 11:45 > > To: [email protected] > > Subject: [Qgis-user] Menu Customisation > > > > > > > > Hi List, > > > > Does menu customisation work? As in Settings-> Customisation? > > > > > > > > I've tried several times now to customise menus (i.e., by removing the > > Oracle Raster from the "mLayerMenu"), but nothing happens. So I try > > restarting QGIS, but then the next time it opens the item is checked > again. > > > > > > > > Am I doing something wrong? > > > > Also, where are these changes saved? The registry (this is Windows)? > > > > > > > > Thanks, > > > > Jonathan > > > > > > This transmission is intended for the named addressee(s) only and may > > contain sensitive or protectively marked material up to RESTRICTED and > > should be handled accordingly. Unless you are the named addressee (or > > authorised to receive it for the addressee) you may not copy or use it, > or > > disclose it to anyone else. If you have received this transmission in > error > > please notify the sender immediately. All email traffic sent to or from > us, > > including without limitation all GCSX traffic, may be subject to > recording > > and/or monitoring in accordance with relevant legislation. > > > > > > _______________________________________________ > > Qgis-user mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/qgis-user > -- This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
