Author: abrander
Date: 2009-12-21 02:41:57 +0100 (Mon, 21 Dec 2009)
New Revision: 2829
Modified:
trunk/src/gtk-interface.c
trunk/src/rs-store.c
Log:
Moved rs_library_photo_default_tags() call from open_photo() to RSStore's
worker_thread().
Modified: trunk/src/gtk-interface.c
===================================================================
--- trunk/src/gtk-interface.c 2009-12-21 01:34:39 UTC (rev 2828)
+++ trunk/src/gtk-interface.c 2009-12-21 01:41:57 UTC (rev 2829)
@@ -161,8 +161,6 @@
g_free(label);
rs_set_photo(rs, photo);
- /* Add all photos we open to the library and tag them with default
values */
- rs_library_photo_default_tags(rs->library, (gchar *) filename,
photo->metadata);
rs_toolbox_set_photo(RS_TOOLBOX(rs->tools), photo);
GTK_CATCHUP();
gui_set_busy(FALSE);
Modified: trunk/src/rs-store.c
===================================================================
--- trunk/src/rs-store.c 2009-12-21 01:34:39 UTC (rev 2828)
+++ trunk/src/rs-store.c 2009-12-21 01:41:57 UTC (rev 2829)
@@ -2433,6 +2433,10 @@
PIXBUF_CLEAN_COLUMN, pixbuf_clean,
-1);
}
+
+ /* Add to library */
+ rs_library_photo_default_tags(rs_library_get_singleton(),
job->filename, metadata);
+
gdk_threads_leave();
/* The GtkListStore should have ref'ed these */
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit