Re: Tree View sidebar / List View



On 27 Jun 2002, Michael Meeks wrote:

> 
> On Thu, 2002-06-27 at 03:38, Dave Bordoley wrote:
> > We have talked about this in the past. I personally would prefer it for
> > some notable usability plusses it provides. If it's implemented i'd like
> > it to behave similar to the kde tree/list view, which I think acts the
> > same as the macos tree/list view.
> > 
> > If you want to give it a go that would be awesome.
> 
> 	One issue is that the tree view is in a separate bonobo component [ in
> theory that might sharing the model problematic ]. I don't really know
> that it makes all that much sense to have it as a separate component,
> probably best to link it into the main app as an in-proc NautilusView
> component.
> 
> 	Then sharing the model would make sense. Oh, and incidentally if you
> want to do a nice efficiency fix - getting different views to share the
> same tree model would be really useful ...

In general (i haven't thought this through), i'd like there to be only one 
source for listview models in nautilus. Probably one with just one column 
that had the NautilusFile in it, and then you'd use 
gtk_tree_view_column_set_cell_data_func() to get the data from the 
model/nautilusfile to the cellrenderer/column.

You would just call nautilus_file_get_model() or something.

That way we would have very little duplication, and doing various sorts of 
lists would be pretty simple.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an old-fashioned one-eyed romance novelist from the 'hood. She's a 
brilliant red-headed angel looking for love in all the wrong places. They 
fight crime! 




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