Author: post
Date: 2010-10-02 12:40:31 +0200 (Sat, 02 Oct 2010)
New Revision: 3545
Modified:
trunk/src/rs-store.c
Log:
Remember to re-enable sorting after all image thumbnails have been loaded.
Modified: trunk/src/rs-store.c
===================================================================
--- trunk/src/rs-store.c 2010-10-02 08:38:00 UTC (rev 3544)
+++ trunk/src/rs-store.c 2010-10-02 10:40:31 UTC (rev 3545)
@@ -2467,6 +2467,11 @@
/* FIXME: Refilter as this point - not before */
g_signal_handler_unblock(job->store->store,
job->store->counthandler);
count_priorities(GTK_TREE_MODEL(job->store->store), NULL, NULL,
job->store->label);
+ RS_STORE_SORT_METHOD sort_method;
+ if (rs_conf_get_integer(CONF_STORE_SORT_METHOD,
(gint*)&sort_method))
+ rs_store_set_sort_method(job->store, sort_method);
+ else
+ rs_store_set_sort_method(job->store,
RS_STORE_SORT_BY_NAME);
gdk_threads_leave();
}
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit