brasero r1764 - in trunk: . src/plugins/cdrkit
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1764 - in trunk: . src/plugins/cdrkit
- Date: Sat, 17 Jan 2009 12:36:45 +0000 (UTC)
Author: philippr
Date: Sat Jan 17 12:36:45 2009
New Revision: 1764
URL: http://svn.gnome.org/viewvc/brasero?rev=1764&view=rev
Log:
2009-01-17 Philippe Rouquier <ykw localhost localdomain>
Improved formatting of DVD+RW when using wodim
* src/plugins/cdrkit/burn-wodim.c (brasero_wodim_stdout_read):
Modified:
trunk/ChangeLog
trunk/src/plugins/cdrkit/burn-wodim.c
Modified: trunk/src/plugins/cdrkit/burn-wodim.c
==============================================================================
--- trunk/src/plugins/cdrkit/burn-wodim.c (original)
+++ trunk/src/plugins/cdrkit/burn-wodim.c Sat Jan 17 12:36:45 2009
@@ -288,9 +288,14 @@
brasero_job_start_progress (BRASERO_JOB (wodim), FALSE);
}
else if (sscanf (line, "Formating in progress: %d.%d %% done", &mb_written, &mb_total) == 2) {
+ brasero_job_set_current_action (BRASERO_JOB (process),
+ BRASERO_BURN_ACTION_BLANKING,
+ _("Formatting disc"),
+ FALSE);
+
brasero_job_start_progress (BRASERO_JOB (wodim), FALSE);
brasero_job_set_progress (BRASERO_JOB (wodim),
- (gdouble) ((gdouble) mb_written + ((gdouble) mb_total) / 10.0));
+ (gdouble) ((gdouble) mb_written + ((gdouble) mb_total) / 10.0) / 100.0);
}
else if (sscanf (line, "Track %*d: %*s %d MB ", &mb_total) == 1) {
/* if (mb_total > 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]