xffm: Sorting

Danny Milosavljevic danny.milo at gmx.net
Fri Nov 7 18:37:40 CET 2003


Am Sam, den 01.11.2003 schrieb edscott wilson garcia um 22:12:
> On Sat, 2003-11-01 at 14:20, Danny Milosavljevic wrote:
> Currently only files within folders are sorted because directories
> always get placed at top, subsorted by name a..z first. You would have
> to play around with the compare function to get the directories
> subsorted with the chosen sort method too. The compare function is
> int gdir_compare(const void *a, const void *b);
> at libs/gdir.c

I am messing with that right now :->

Do directories also have the en->st structure filled ?

And, what is the 

 if(d1->pathv[0] == '.' || d2->pathv[0] == '.')
                        return strcmp(d1->pathv, d2->pathv);

for ?
(since the next command would have been the compare anyways, but I guess
this is to bail out iac, or something ?)

btw, I took some debugging stuff out of combo.c and committed, since it
made xffm crash in debug mode for me (every time). Hope you don't mind.

Current cvs crashes when expaning my home directory for some other
reason, something with the mime_get_type fuction & friends, still

> regards,
> Edscott 


More information about the Xfce4-dev mailing list