Author: abrander
Date: 2010-02-25 08:06:12 +0100 (Thu, 25 Feb 2010)
New Revision: 3242
Modified:
trunk/src/rs-batch.c
Log:
Respect settings from conf in rs_batch_process().
Modified: trunk/src/rs-batch.c
===================================================================
--- trunk/src/rs-batch.c 2010-02-25 07:04:25 UTC (rev 3241)
+++ trunk/src/rs-batch.c 2010-02-25 07:06:12 UTC (rev 3242)
@@ -631,12 +631,7 @@
if
(g_object_class_find_property(G_OBJECT_GET_CLASS(queue->output), "filename"))
g_object_set(queue->output, "filename",
parsed_filename, NULL);
- if
(g_object_class_find_property(G_OBJECT_GET_CLASS(queue->output), "caption"))
- {
- gchar *basename =
g_path_get_basename(parsed_filename);
- g_object_set(queue->output, "caption",
basename, NULL);
- g_free(basename);
- }
+ rs_output_set_from_conf(queue->output, "batch");
g_assert(RS_IS_OUTPUT(queue->output));
g_assert(RS_IS_FILTER(fend));
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit