How is it possible for this to fail to eliminate the "detach" entry from
the main menu?

       widgets.attach_detach_item = UI_GET_ITEM(gxml,
"attach_detach_sidebar");
       gtk_widget_hide(widgets.attach_detach_item);

The function is called, the statements are executed, yet the menu entry
persists.

Alternatively, doing this in the UI files instead, why does this visible
"False" not result in a hidden item?

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

I just want the thing to go away. I don't care which mechanism is used.
Neither one has the desired effect.
_______________________________________________
xiphos-devel mailing list
xiphos-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/xiphos-devel

Reply via email to