After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 92404 - deactivating nautilus views doesn't work
deactivating nautilus views doesn't work
Status: RESOLVED DUPLICATE of bug 102200
Product: nautilus
Classification: Core
Component: Extension Library
2.0.x
Other other
: High major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks: 99636
 
 
Reported: 2002-09-03 13:28 UTC by Paolo Bacchilega
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paolo Bacchilega 2002-09-03 13:28:44 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.
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2002-09-03 20:48:05 UTC
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.
Comment 2 Luis Villa 2002-09-03 21:35:15 UTC
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.
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2002-11-03 12:33:23 UTC
this appears fixed in cvs, though the attached code was not used
Comment 4 Paolo Bacchilega 2002-11-27 18:24:11 UTC
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).
Comment 5 Luis Villa 2002-12-03 21:59:29 UTC
Paolo: did you ever send this to nautilus-list?
Comment 6 Paolo Bacchilega 2002-12-04 08:19:48 UTC
yes, 

http://mail.gnome.org/archives/nautilus-list/2002-September/msg00086.html

but received no response.
Comment 7 Paolo Bacchilega 2002-12-30 09:13:00 UTC
It seems that Jens Finke found a better solution.

*** This bug has been marked as a duplicate of 102200 ***