<div dir="ltr">And why aren&#39;t you just deleting it?<div><br></div><div>--Greg</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 16, 2018 at 6:47 PM, Karl Kleinpaste <span dir="ltr">&lt;<a href="mailto:karl@kleinpaste.org" target="_blank">karl@kleinpaste.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <font face="FreeSerif">How is it possible for this to fail to
      eliminate the &quot;detach&quot; entry from the main menu?<br>
      <br>
             widgets.attach_detach_item = UI_GET_ITEM(gxml,
      &quot;attach_detach_sidebar&quot;);<br>
             gtk_widget_hide(widgets.<wbr>attach_detach_item);<br>
      <br>
      The function is called, the statements are executed, yet the menu
      entry persists.<br>
      <br>
      Alternatively, doing this in the UI files instead, why does this
      visible &quot;False&quot; not result in a hidden item?<br>
      <br>
                  &lt;child&gt;<br>
                    &lt;object class=&quot;GtkMenuItem&quot;
      id=&quot;attach_detach_sidebar&quot;&gt;<br>
                      &lt;property
      name=&quot;visible&quot;&gt;False&lt;/<wbr>property&gt;<br>
                      &lt;property
      name=&quot;can_focus&quot;&gt;False&lt;/<wbr>property&gt;<br>
                      &lt;property name=&quot;label&quot;
      translatable=&quot;yes&quot;&gt;_Attach/<wbr>Detach Sidebar&lt;/property&gt;<br>
                      &lt;property
      name=&quot;use_underline&quot;&gt;True&lt;/<wbr>property&gt;<br>
                      &lt;signal name=&quot;activate&quot;
      handler=&quot;on_attach_detach_<wbr>sidebar_activate&quot; swapped=&quot;no&quot;/&gt;<br>
                    &lt;/object&gt;<br>
                  &lt;/child&gt;<br>
      <br>
      I just want the thing to go away. I don&#39;t care which mechanism is
      used. Neither one has the desired effect.<br>
    </font>
  </div>

<br>______________________________<wbr>_________________<br>
xiphos-devel mailing list<br>
<a href="mailto:xiphos-devel@crosswire.org">xiphos-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/xiphos-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/<wbr>mailman/listinfo/xiphos-devel</a><br>
<br></blockquote></div><br></div>