On Tue, 2004-03-09 at 03:58, Not Zed wrote:
> On Mon, 2004-03-08 at 10:19 -0500, Dan Winship wrote:
> > The way connector works in 1.5 is that it implements an
> > EvolutionComponent which then requests controls from the other
> > components to fill in its own view pane with. But there's currently no
> > way it can get a statusbar that goes along with the view.
>
> Which controls are the controls it requests? Not the ones from
> createControls? Or does it request all of them but only use the view?
No, each component has a separate BonoboControl-returning interface.
(Mail's comes from mail-component.c:mail_control_new().)
> Can't you just request all the controls, and hide the status bars not
> associated with the currently displayed view widget?
As things are currently written, the view control returned by
createControls doesn't create a property bag with a "uri" setting, so
Connector has no way of forcing it to display a particular folder. I
guess that's easy enough to fix.
I think I'll:
* get rid of the existing control/property bag interface
* use createControls
* explicitly note in Evolution-Component.idl that the
createControls caller is allowed to destroy the sidebar if it
doesn't want it
* add a "setUri (in Control view, in string uri)" method to
Evolution-Component.idl
-- Dan
_______________________________________________
evolution-hackers maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers