<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>
<child><br>
<object class="GtkMenuItem"
id="attach_detach_sidebar"><br>
<property
name="visible">False</property><br>
<property
name="can_focus">False</property><br>
<property name="label"
translatable="yes">_Attach/Detach Sidebar</property><br>
<property
name="use_underline">True</property><br>
<signal name="activate"
handler="on_attach_detach_sidebar_activate" swapped="no"/><br>
</object><br>
</child><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>