From: Klaus Ethgen Date: Fri, 4 Mar 2016 10:44:47 +0000 (+0100) Subject: Applying that sort method also to collections X-Git-Tag: v1.3~63^2 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=620b15ae9bec4003fe8047ec99595ac47d2fa3bc Applying that sort method also to collections --- diff --git a/src/collect.c b/src/collect.c index e3c01571..0a76b710 100644 --- a/src/collect.c +++ b/src/collect.c @@ -141,6 +141,11 @@ static gint collection_list_sort_cb(gconstpointer a, gconstpointer b) if (cia->fd->date > cib->fd->date) return 1; return 0; break; + case SORT_CTIME: + if (cia->fd->cdate < cib->fd->cdate) return -1; + if (cia->fd->cdate > cib->fd->cdate) return 1; + return 0; + break; case SORT_PATH: return utf8_compare(cia->fd->path, cib->fd->path, options->file_sort.case_sensitive); break;