> 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);

-- Dan
_______________________________________________
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers

Reply via email to