sorting by time instead of filename
Greg Troxel <gdt-2FjktZCtrC/[email protected]> Tue, 03 Apr 2007 16:29:12 -0400
| Newsgroups | gmane.comp.gnome.apps.gqview.devel |
|---|---|
| Message-ID | <[email protected]> |
I prefer photos sorted by time rather than name. (This is because sometimes I used two cameras at an event and want to review a merged stream, and also because when wrapping over 10000 the filenames don't sort right, e.g. dsc_9999.jpg to dsc_10001.jpg). I have used SORT_DATE instead of SORT_NAME, but I don't see any UI to set this on the fly. I appreciate the niceness of the code - it took only 5 minutes to read the code to figure this out and rebuild. It would also be cool to be able to sort by exif image-taken date, but that's harder and I'm not sure it's that massively useful; my workflow keeps the mod date on the files. But, when using gimp I get a new date, so it would be nice. --- src/view_file_icon.c.orig 2006-11-24 20:01:43.000000000 -0500 +++ src/view_file_icon.c @@ -2225,7 +2225,7 @@ ViewFileIcon *vficon_new(const gchar *pa vfi = g_new0(ViewFileIcon, 1); vfi->path = NULL; - vfi->sort_method = SORT_NAME; + vfi->sort_method = SORT_TIME; vfi->sort_ascend = TRUE; vfi->selection = NULL; ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV