deactivating nautilus views doesn't work
- From: Paolo Bacchilega <paolo bacch tin it>
- To: nautilus-list gnome org
- Subject: deactivating nautilus views doesn't work
- Date: 04 Sep 2002 08:31:24 +0200
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 seems to work good,
is this a correct solution ? if so please apply it because I need this
feature.
Regards,
Paolo.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]