Author: akv
Date: 2010-01-15 00:50:31 +0100 (Fri, 15 Jan 2010)
New Revision: 2995

Modified:
   branches/rawstudio-ng-color/src/rs-store.c
   branches/rawstudio-ng-color/src/rs-store.h
Log:
Added rs_store_set_iconview_size() to help set size of iconview when loading 
photos from library.

Modified: branches/rawstudio-ng-color/src/rs-store.c
===================================================================
--- branches/rawstudio-ng-color/src/rs-store.c  2010-01-14 19:27:11 UTC (rev 
2994)
+++ branches/rawstudio-ng-color/src/rs-store.c  2010-01-14 23:50:31 UTC (rev 
2995)
@@ -2436,3 +2436,11 @@
        g_object_unref(job->model);
        g_free(job);
 }
+
+void rs_store_set_iconview_size(RSStore *store, gint size)
+{
+       gint n;
+
+       for (n=0;n<NUM_VIEWS;n++)
+               gtk_icon_view_set_columns(GTK_ICON_VIEW (store->iconview[n]), 
size);
+}

Modified: branches/rawstudio-ng-color/src/rs-store.h
===================================================================
--- branches/rawstudio-ng-color/src/rs-store.h  2010-01-14 19:27:11 UTC (rev 
2994)
+++ branches/rawstudio-ng-color/src/rs-store.h  2010-01-14 23:50:31 UTC (rev 
2995)
@@ -223,4 +223,7 @@
 extern void
 rs_store_load_file(RSStore *store, gchar *fullname);
 
+extern void
+rs_store_set_iconview_size(RSStore *store, gint size);
+
 #endif /* RS_STORE_H */


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to