<div dir="ltr">And why aren'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"><<a href="mailto:karl@kleinpaste.org" target="_blank">karl@kleinpaste.org</a>></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 "detach" entry from the main menu?<br>
<br>
widgets.attach_detach_item = UI_GET_ITEM(gxml,
"attach_detach_sidebar");<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 "False" not result in a hidden item?<br>
<br>
<child><br>
<object class="GtkMenuItem"
id="attach_detach_sidebar"><br>
<property
name="visible">False</<wbr>property><br>
<property
name="can_focus">False</<wbr>property><br>
<property name="label"
translatable="yes">_Attach/<wbr>Detach Sidebar</property><br>
<property
name="use_underline">True</<wbr>property><br>
<signal name="activate"
handler="on_attach_detach_<wbr>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>
</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>