projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bbb74b
)
Just update the internal sort method
author
Klaus Ethgen
<Klaus@Ethgen.de>
Fri, 10 Apr 2009 13:54:08 +0000
(13:54 +0000)
committer
Klaus Ethgen
<Klaus@Ethgen.de>
Fri, 10 Apr 2009 13:54:08 +0000
(13:54 +0000)
There is no other use of the internal sort method than speeding up the
sorting of a collection. So setting it to SORT_NONE is the better
choice.
src/collect.c
patch
|
blob
|
history
diff --git
a/src/collect.c
b/src/collect.c
index
2a78318
..
6d42bc2
100644
(file)
--- a/
src/collect.c
+++ b/
src/collect.c
@@
-606,6
+606,7
@@
void collection_randomize(CollectionData *cd)
if (!cd) return;
cd->list = collection_list_randomize(cd->list);
+ cd->sort_method = SORT_NONE;
if (cd->list) cd->changed = TRUE;
collection_window_refresh(collection_window_find(cd));