Re: [evolution-patches] Fix for Task Pane resizing (#55653)



On Fri, 2004-07-09 at 12:37 -0400, Rodney Dawes wrote:
> New patch attached to fix the two style issues, as well as the spelling
> of realise to realize, to match the GTK+ API.
> 
> On Thu, 2004-07-08 at 23:34 +0200, Rodrigo Moya wrote:
> > On Thu, 2004-07-08 at 15:44 -0400, Rodney Dawes wrote:
> > > This patch fixes bug 55653 and sets the task pane position correctly
> > > when we switch to the Tasks component.
> > > 
> 
> > > +
> > > +       gtk_paned_set_position ((GtkPaned *)tasks->priv->paned,
> > > calendar_config_get_task_vpane_pos ());
> > >  }
> > why do you need this call? isn't the pane_realised callback enough?
> 
> This is needed so that the pane position gets set correctly when you
> start up evolution in mail, and then switch to tasks. There is a comment
> in the bug about how just adding the realize handler doesn't work for
> the case when you move the task pane, switch to mail or some other
> component, exit, start evolution, and switch back to tasks. The calendar
> code for the tasks pane is doing the same thing that this patch adds.
> 
looks ok to me

cheers




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