>>>
>>>Russ,
>>>
>>>I just looked at how nautils(size) workes, it's correct the way I said it should be.
>>>
>>>Peace,
>>>Mike
>>
>>The size button in the mozilla-mail application sorts correctly, the way
>>I said it should be ;-) so does the filename and type column in
>>nautilus. It appears that there really is no standard for this across
>>different applications. I still stick to my conviction that the correct
>>way to handle this is to follow the default behavior provided by the
>>gtk2 library.
>>
>>Although, as a person who gets frustrated at software that doesn't
>>behave the way I *think* it should, I can sympathize with you. To ease
>>your frustration, I have provided a small patch against the most recent
>>CVS which incorrectly :-) sorts the search pane, size and # columns and
>>the upload pane size column.
>>
>>Please feel free to use it, although I can't in good conscience
>>recommend it gets committed to CVS.
>>
>>Peace,
>>Russ
>
> Are you sher, I don't get the same results with nautils.
> In alpha sorting a > z, even thought z has a bigger ASCII value.
> Mozilla mail dose sorting just like nautils for alpha, for date and size it's
> backwards compared
> to how it treats alpha.
>
> This is all just cosmetics however it would be nice if some one would lay down some
> stone rulz.
I respectfully disagree with the a > z bit, the default sorting routine
used is strncmp or some glib derivative which returns.
-1 == strcmp("a", "b")
0 == strcmp("b", "b")
1 == strcmp("c", "b")
The strcmp() and strncmp() return an integer greater than, equal to, or
less than 0, according as the string s1 is greater than, equal to, or
less than the string s2.
I would take this to mean that a < z when doing alpha sorting. Or am I
out there on this one???
Thanks.
Russ
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel