<div dir="ltr">Hi Both,<div>It is occurring to me that I am confusing the layer menu with the layer toolbar.</div><div><br></div><div>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).</div>

<div><br></div><div>This seems to be an example of Radim's bug.</div><div><br></div><div>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.</div>

<div><div><div class="gmail_extra"><div><br></div><div>Cheers,</div><div>Jonathan</div>
<br><br><div class="gmail_quote">On 11 December 2013 15:00, Radim Blazek <span dir="ltr"><<a href="mailto:radim.blazek@gmail.com" target="_blank">radim.blazek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Wed, Dec 11, 2013 at 3:07 PM, Thomas Colley<br>
<<a href="mailto:t.colley@neath-porttalbot.gov.uk">t.colley@neath-porttalbot.gov.uk</a>> wrote:<br>
> Hi Jonathan<br>
><br>
> It seems to be Oracle Raster in particular that can’t be removed. Other<br>
> entries in the mLayerMenu work fine for me (restart needed).<br>
<br>
</div>That's because mQActionPointer in QgsOraclePlugin does not have<br>
objectName. Some (many) plugins do not set objectName on QMenu and<br>
QAction and thus cannot be customized. If there is objectName missing<br>
in tree path to an item, it cannot be customized.<br>
<br>
It was recently discussed<br>
<a href="http://lists.osgeo.org/pipermail/qgis-developer/2013-November/029545.html" target="_blank">http://lists.osgeo.org/pipermail/qgis-developer/2013-November/029545.html</a><br>
and there is this issue<br>
<a href="http://hub.qgis.org/issues/9134" target="_blank">http://hub.qgis.org/issues/9134</a><br>
<br>
Radim<br>
<div><div class="h5"><br>
><br>
><br>
> Is that the same for you?<br>
><br>
><br>
><br>
> Cheers<br>
><br>
><br>
><br>
> Tom<br>
><br>
><br>
><br>
><br>
><br>
> From: <a href="mailto:qgis-user-bounces@lists.osgeo.org">qgis-user-bounces@lists.osgeo.org</a><br>
> [mailto:<a href="mailto:qgis-user-bounces@lists.osgeo.org">qgis-user-bounces@lists.osgeo.org</a>] On Behalf Of Jonathan Moules<br>
> Sent: 11 December 2013 11:45<br>
> To: <a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
> Subject: [Qgis-user] Menu Customisation<br>
><br>
><br>
><br>
> Hi List,<br>
><br>
>   Does menu customisation work? As in Settings-> Customisation?<br>
><br>
><br>
><br>
> I've tried several times now to customise menus (i.e., by removing the<br>
> Oracle Raster from the "mLayerMenu"), but nothing happens. So I try<br>
> restarting QGIS, but then the next time it opens the item is checked again.<br>
><br>
><br>
><br>
> Am I doing something wrong?<br>
><br>
> Also, where are these changes saved? The registry (this is Windows)?<br>
><br>
><br>
><br>
> Thanks,<br>
><br>
> Jonathan<br>
><br>
><br>
> This transmission is intended for the named addressee(s) only and may<br>
> contain sensitive or protectively marked material up to RESTRICTED and<br>
> should be handled accordingly. Unless you are the named addressee (or<br>
> authorised to receive it for the addressee) you may not copy or use it, or<br>
> disclose it to anyone else. If you have received this transmission in error<br>
> please notify the sender immediately. All email traffic sent to or from us,<br>
> including without limitation all GCSX traffic, may be subject to recording<br>
> and/or monitoring in accordance with relevant legislation.<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br></div></div></div></div>

<br>
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;background-color:rgb(255,255,255)">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.</span>