[brasero] Fix bgo#582143 – Reports successful copy when out of disk space in copying DVD
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Subject: [brasero] Fix bgo#582143 – Reports successful copy when out of disk space in copying DVD
- Date: Wed, 13 May 2009 10:47:57 -0400 (EDT)
commit 3cab3956dd0271ebb74c8aad2d31cac583160e15
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed May 13 16:42:01 2009 +0200
Fix bgo#582143 â?? Reports successful copy when out of disk space in copying DVD
Patch by Heikki Paajanen
---
plugins/cdrkit/burn-readom.c | 6 ++++++
plugins/cdrtools/burn-readcd.c | 6 ++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/plugins/cdrkit/burn-readom.c b/plugins/cdrkit/burn-readom.c
index e8504d2..f742cf6 100644
--- a/plugins/cdrkit/burn-readom.c
+++ b/plugins/cdrkit/burn-readom.c
@@ -116,6 +116,12 @@ brasero_readom_read_stderr (BraseroProcess *process, const gchar *line)
BRASERO_BURN_ERROR_GENERAL,
_("An internal error occured")));
}
+ else if (strstr (line, "No space left on device")) {
+ brasero_job_error (BRASERO_JOB (readom),
+ g_error_new (BRASERO_BURN_ERROR,
+ BRASERO_BURN_ERROR_DISK_SPACE,
+ _("The location you chose to store the image on does not have enough free space for the disc image")));
+ }
return BRASERO_BURN_OK;
}
diff --git a/plugins/cdrtools/burn-readcd.c b/plugins/cdrtools/burn-readcd.c
index 2176f10..77dae89 100644
--- a/plugins/cdrtools/burn-readcd.c
+++ b/plugins/cdrtools/burn-readcd.c
@@ -118,6 +118,12 @@ brasero_readcd_read_stderr (BraseroProcess *process, const gchar *line)
BRASERO_BURN_ERROR_GENERAL,
_("An internal error occured")));
}
+ else if (strstr (line, "No space left on device")) {
+ brasero_job_error (BRASERO_JOB (readcd),
+ g_error_new (BRASERO_BURN_ERROR,
+ BRASERO_BURN_ERROR_DISK_SPACE,
+ _("The location you chose to store the image on does not have enough free space for the disc image")));
+ }
return BRASERO_BURN_OK;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]