Re: [Evolution-hackers] Status bar stuff



> 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]