[brasero/gnome-2-26] Ported patch
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Subject: [brasero/gnome-2-26] Ported patch
- Date: Wed, 13 May 2009 11:23:53 -0400 (EDT)
commit ebd656f589db460b191ca79c60c00243e98b747f
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Wed May 13 17:17:55 2009 +0200
Ported patch
Fix bgo#582143 â?? Reports successful copy when out of disk space in copying DVD
Patch by Heikki Paajanen
---
src/plugins/cdrkit/burn-readom.c | 6 ++++++
src/plugins/cdrtools/burn-readcd.c | 6 ++++++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/plugins/cdrkit/burn-readom.c b/src/plugins/cdrkit/burn-readom.c
index 381501e..52e6edd 100644
--- a/src/plugins/cdrkit/burn-readom.c
+++ b/src/plugins/cdrkit/burn-readom.c
@@ -110,6 +110,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/src/plugins/cdrtools/burn-readcd.c b/src/plugins/cdrtools/burn-readcd.c
index fc00268..6c33431 100644
--- a/src/plugins/cdrtools/burn-readcd.c
+++ b/src/plugins/cdrtools/burn-readcd.c
@@ -110,6 +110,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]