diff src/layout_util.c @ 1586:249b539cc952

force the metadata dialog if it was triggered by the menu or the button
author nadvornik
date Sat, 02 May 2009 11:14:24 +0000
parents 15de7b420b69
children c2f12b63fd5c
line wrap: on
line diff
--- a/src/layout_util.c	Sat May 02 10:59:36 2009 +0000
+++ b/src/layout_util.c	Sat May 02 11:14:24 2009 +0000
@@ -1038,7 +1038,7 @@
 
 static void layout_menu_metadata_write_cb(GtkAction *action, gpointer data)
 {
-	metadata_write_queue_confirm(NULL, NULL);
+	metadata_write_queue_confirm(TRUE, NULL, NULL);
 }
 
 
@@ -2390,7 +2390,7 @@
 
 	/* this should be called here to handle the metadata edited in bars */
 	if (options->metadata.confirm_on_image_change)
-		metadata_write_queue_confirm(NULL, NULL);
+		metadata_write_queue_confirm(FALSE, NULL, NULL);
 }
 
 void layout_bars_new_selection(LayoutWindow *lw, gint count)