Re: deactivating nautilus views
- From: Paolo Bacchilega <paolo bacch tin it>
- To: Michael Meeks <michael ximian com>
- Cc: bonobo components list <gnome-components-list gnome org>
- Subject: Re: deactivating nautilus views
- Date: 03 Sep 2002 12:47:19 +0200
Il lun, 2002-09-02 alle 13:19, Michael Meeks ha scritto:
> Hi Paolo,
>
> On Sat, 2002-08-31 at 17:59, Paolo Bacchilega wrote:
> > I have a bonobo control that when used in Nautilus gets activated and
> > deactivated correctly, that is the ui is setted/unsetted correctly,
>
> Ok; good.
>
> > but when I add a Nautilus::View interface to the control unsetting the
> > ui does not work because the "activate" signal is not called,
>
> I don't quite understand what you're asking; but this is possibly a bug
> in the nautilus container; possibly not.
>
> > how should I unset the ui in a Nautilus::View ?
>
> The preferred way is to find another nautilus view that works - and
> copy that; quite possibly none of them work ;-) in which case fix
> nautilus.
I added the following 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;
}
it works good now.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]