Re: [Evolution] window redraws when switching between folders



The problem is the way Bonobo handles the Toolbar when the current
component is switched...  Because of the way it's implemented, it's hard
to work around this.  :-/

Maybe this can be optimized in the future.

But if you're staying within the mail component, you're not switching
components, right? That was my complaint. Like I just click from one
mail folder to another and everything redraws. Can't you just _not_
notify bonobo / the toolbar / whatever that you're changing components,
when you click on a folder that's the same type as the current
component? Am I being unclear, or am I misunderstanding your use of the
word "component?" Sorry if I'm just being dense. :-)

The way it works is that we have Evolution::ShellComponents (i.e. mail,
calendar, addressbook) and each of these components creates different
views.  Each view is a Bonobo::Control, which is itself a
component.  (The difference here is that Evolution::ShellComponent is a
non-graphical component, while a Bonobo::Control is a graphical
component.)

Now, each control handles the toolbar independently from the other
controls, and that's why you get flickering even when you switch between
controls that have been spawned by the same Evolution component.

-- 
Ettore




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