[brasero] Fix image checksuming that did not occur when GConf or GSetting returned 0 as a value for the checks



commit 9a5d3ea02e5d53cbb87919bab2e58d486c377894
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Fri Sep 3 20:29:11 2010 +0200

    Fix image checksuming that did not occur when GConf or GSetting returned 0 as a value for the checksum type key

 plugins/checksum/burn-checksum-image.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/checksum/burn-checksum-image.c b/plugins/checksum/burn-checksum-image.c
index 4a0b4b3..d0f442b 100644
--- a/plugins/checksum/burn-checksum-image.c
+++ b/plugins/checksum/burn-checksum-image.c
@@ -680,6 +680,7 @@ brasero_checksum_image_activate (BraseroJob *job,
 	brasero_job_get_action (job, &action);
 
 	if (action == BRASERO_JOB_ACTION_IMAGE
+	&&  brasero_track_get_checksum_type (track) != BRASERO_CHECKSUM_NONE
 	&&  brasero_track_get_checksum_type (track) == brasero_checksum_get_checksum_type ()) {
 		BRASERO_JOB_LOG (job,
 				 "There is a checksum already %d",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]