Re: [Evolution-hackers] Status bar stuff
- From: Ettore Perazzoli <ettore ximian com>
- To: Dan Winship <danw ximian com>
- Cc: evolution-hackers ximian com
- Subject: Re: [Evolution-hackers] Status bar stuff
- Date: Wed, 19 Nov 2003 17:24:34 -0500
On Wed, 2003-11-19 at 17:20, Dan Winship wrote:
> > In particular, restoring the old way also implies adding the
> > ::setOwner() method (through which the shell tells the components of its
> > existance), which is kinda nasty and I was hoping we could do without in
> > 2.0.
>
> The component can get a handle on the shell via bonobo-activation:
>
> shell = bonobo_activation_activate_from_id (
> "OAFIID:GNOME_Evolution_Shell",
> Bonobo_ACTIVATION_FLAG_EXISTING_ONLY,
> NULL, ev);
Hmm I am not sure we can assume that. What if the shell changes ID, for
example... Also this way you are creating a possible hidden refcount
loop.
(Also I was idlily thinking that in the case where we are running
components separately the shell would register with different names
depending on what set of components it is running, so in that case that
wouldn't work. I am not sure it's a good idea though...)
-- Ettore
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]