Re: possible optimization



On Fri, 2006-02-24 at 16:27 +0100, Jan Kratochvil wrote:
> On Fri, 24 Feb 2006 16:18:13 +0100, Alexander Larsson wrote:
> > On Fri, 2006-02-24 at 15:34 +0100, Luca Ferretti wrote:
> ...
> > > Do you think Nautilus can follow a similar path when you are using the
> > > simple icon view (just filename as icon caption)? Here you need only
> > > filenames...
> > 
> > No, you always need the file type. (Both of the file/folder/symlink
> > variety and the mime type variety.)
> 
> At least on GNU/Linux there is dirent.d_type backed by _DIRENT_HAVE_D_TYPE.
> ext2/ext3 also support it by its optional (usually turned on) feature
> 'filetype'. (somehow I assume this is not new to you)

Yes. I'm aware of that. However, we always need more information than
just the name. We need for instance the size to determine whether to
thumbnail or not, and the access rights so we can add e.g. non-readable
emblems.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an old-fashioned playboy assassin looking for 'the Big One.' She's a 
cold-hearted French-Canadian journalist from a different time and place. They 
fight crime! 




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