Thank you very much!
I'll test this later. Can you post this in our issue tracker?
http://sourceforge.net/tracker/?atid=801866&group_id=156956&func=browse

Besides, we still has some minor bugs in the file manager.
Can you help us fix them, too?
http://sourceforge.net/tracker/?limit=25&func=&group_id=156956&atid=801864&assignee=&status=&category=&artgroup=&keyword=&submitter=&artifact_id=&assignee=&status=1&category=&artgroup=&submitter=&keyword=&artifact_id=&submit=Filter
We really need some help now to make the file manager stable enough
for production use but we don't have time to fix them all at the
moment. So please help if you can.

Thank you in advance.

On Sun, Jun 20, 2010 at 8:43 PM, Cyril Lashkevich <[email protected]> wrote:
> ---
>  src/gtk/fm-folder-model.c |    9 +++++++--
>  1 files changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/src/gtk/fm-folder-model.c b/src/gtk/fm-folder-model.c
> index f0a26e6..7526ab7 100644
> --- a/src/gtk/fm-folder-model.c
> +++ b/src/gtk/fm-folder-model.c
> @@ -693,10 +693,15 @@ _sort_by_name:
>         break;
>     }
>     case COL_FILE_SIZE:
> -        ret = file1->size - file2->size;
> -        if(0 == ret)
> +    {
> +        /* to support files more than 2Gb */
> +        goffset diff = file1->size - file2->size;
> +        if(0 == diff)
>             goto _sort_by_name;
> +        else
> +            ret = diff > 0 ? 1 : -1;
>         break;
> +    }
>     case COL_FILE_MTIME:
>         ret = file1->mtime - file2->mtime;
>         if(0 == ret)
> --
> 1.7.1
>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> Pcmanfm-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pcmanfm-develop
>

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Pcmanfm-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pcmanfm-develop

Reply via email to