GNOME Bugzilla – Bug 92404
deactivating nautilus views doesn't work
Last modified: 2004-12-22 21:47:04 UTC
if a component implements the Nautilus::View interface, toolbar and menu items do not get removed. I added the following 2 lines to nautilus-view-frame.c : static void destroy_view (NautilusViewFrame *view) { BonoboUIEngine *engine; + if (view->details->control_frame != NULL) + bonobo_control_frame_control_deactivate (view->details->control_frame); if (view->details->view == CORBA_OBJECT_NIL) { return; } and it works good.
Could you please create a diff against cvs nautilus (see the HACKING file for info) and send it to nautilus-list@gnome.org. Oh and include a changelog entry if you could. Thank you.
For something this small a full patch probably isn't necessary :) But yeah, sending it to nautilus-list@gnome.org is probably a good idea, Paolo.
this appears fixed in cvs, though the attached code was not used
no, it's not fixed. You have to test it with a component that implements the Nautilus::View interface (for example the gthumb image viewer component).
Paolo: did you ever send this to nautilus-list?
yes, http://mail.gnome.org/archives/nautilus-list/2002-September/msg00086.html but received no response.
It seems that Jens Finke found a better solution. *** This bug has been marked as a duplicate of 102200 ***