[brasero] Fixed a FIXME
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Fixed a FIXME
- Date: Thu, 5 Nov 2009 17:19:32 +0000 (UTC)
commit 9100774136e265df73991ec9d32c387b9ea5d9cf
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Thu Nov 5 17:25:06 2009 +0100
Fixed a FIXME
Remove overburn for anything that is not CD
libbrasero-burn/brasero-session-cfg.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/libbrasero-burn/brasero-session-cfg.c b/libbrasero-burn/brasero-session-cfg.c
index f7163c8..cb0d0b6 100644
--- a/libbrasero-burn/brasero-session-cfg.c
+++ b/libbrasero-burn/brasero-session-cfg.c
@@ -979,9 +979,11 @@ brasero_session_cfg_check_size (BraseroSessionCfg *self)
return BRASERO_SESSION_VALID;
}
- /* FIXME: This is not good since with a DVD 3% of 4.3G may be too much
- * with 3% we are slightly over the limit of the most overburnable discs
- * but at least users can try to overburn as much as they can. */
+ /* Overburn is only for CDs */
+ if (brasero_medium_get_status (medium) & BRASERO_MEDIUM_CD == 0) {
+ priv->is_valid = BRASERO_SESSION_INSUFFICIENT_SPACE;
+ return BRASERO_SESSION_INSUFFICIENT_SPACE;
+ }
/* The idea would be to test write the disc with cdrecord from /dev/null
* until there is an error and see how much we were able to write. So,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]