[Rawstudio-commit] r2996 - branches/rawstudio-ng-color/src

Anders Kvist anders at kvistmail.dk
Fri Jan 15 00:54:24 CET 2010


Author: akv
Date: 2010-01-15 00:54:24 +0100 (Fri, 15 Jan 2010)
New Revision: 2996

Modified:
   branches/rawstudio-ng-color/src/rs-library.c
Log:
Set correct size for iconview after loading photos from library.

Modified: branches/rawstudio-ng-color/src/rs-library.c
===================================================================
--- branches/rawstudio-ng-color/src/rs-library.c	2010-01-14 23:50:31 UTC (rev 2995)
+++ branches/rawstudio-ng-color/src/rs-library.c	2010-01-14 23:54:24 UTC (rev 2996)
@@ -792,6 +792,8 @@
 	/* FIXME: deselect all photos in store */
 	rs_store_remove(carrier->store, NULL, NULL);
 	g_list_foreach(photos, load_photos, carrier->store);
+	/* Fix size of iconview */
+	rs_store_set_iconview_size(carrier->store, g_list_length(photos));
 
 	GString *window_title = g_string_new("");
 	g_string_printf(window_title, _("Tag search [%s]"), text);




More information about the Rawstudio-commit mailing list