<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <font face="FreeSerif">How is it possible for this to fail to
      eliminate the "detach" entry from the main menu?<br>
      <br>
             widgets.attach_detach_item = UI_GET_ITEM(gxml,
      "attach_detach_sidebar");<br>
             gtk_widget_hide(widgets.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 "False" not result in a hidden item?<br>
      <br>
                  &lt;child&gt;<br>
                    &lt;object class="GtkMenuItem"
      id="attach_detach_sidebar"&gt;<br>
                      &lt;property
      name="visible"&gt;False&lt;/property&gt;<br>
                      &lt;property
      name="can_focus"&gt;False&lt;/property&gt;<br>
                      &lt;property name="label"
      translatable="yes"&gt;_Attach/Detach Sidebar&lt;/property&gt;<br>
                      &lt;property
      name="use_underline"&gt;True&lt;/property&gt;<br>
                      &lt;signal name="activate"
      handler="on_attach_detach_sidebar_activate" swapped="no"/&gt;<br>
                    &lt;/object&gt;<br>
                  &lt;/child&gt;<br>
      <br>
      I just want the thing to go away. I don't care which mechanism is
      used. Neither one has the desired effect.<br>
    </font>
  </body>
</html>