~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to libbrasero-burn/brasero-burn.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-07-14 14:13:00 UTC
  • mfrom: (1.1.25 upstream)
  • Revision ID: james.westby@ubuntu.com-20090714141300-e08q13sp48b2xzwd
Tags: 2.27.4-0ubuntu1
* New upstream release: (LP: #399112)
  - Hal support removed, now relies on GIO only for drives/media probing
  - New layout for size reporting in data/audio/video project
  - Lot's of bug fixes
  - Fixed some memleaks
  - Bump libbrasero-media version to reflect changes (important to packagers)
  - Fix #582261 – brasero shows 0% done, while continues burning disc
  - Fix #582513 – Bogus VIDEO_TS directory error if AUDIO_TS directory present
  - Fix #573805 – "Increase compatibility with Windows systems"?
  - Fix #585190 – remove 0 from 03 % status
  - Fix #586744 – Use AS_HELP_STRING for configure switches
  - Fix #584793 – Poor language in warning dialog when attempting to burn an audio CD onto a CDRW
  - Fix #580617 – Brasero floods .xsession-errors log with "Unknown (or already deleted) monitored directory" warnings
  - Fix #563501 – Brasero burning window shouldn't try to show drive speed while is converting audio files
  - Fix #485719 – Burn dialog CD icon
  - Fix #585481 – Deep hierarchy warning
  - Fix #554070 – The need of a "replace all" and "replace non" button
  - Fix #582461 – Brasero hangs at normalizing tracks
  - Fix #587284 – nautilus hangs every time
  - Fix #574093 – Caret visible in instructions for project creation
  - Fix #581742 – port from HAL to DeviceKit-disks
  - Fix #573801 – Bad error message when burning empty burn:///
  - Fix #573486 – Various i18n and string issues for good
  - Fix #587399 – License clarification
  - Fix #587554 – Unclear meaning of text
  - Fix #582979 – brasero should not include Categories in mime handler .desktop files
  - Fix #586040 – duplicated command listed in open-with dialog
  - Fixes for #573486 – Various i18n and string issues
* debian/control.in:
  - Add in missing comma in brasero suggests

Show diffs side-by-side

added added

removed removed

Lines of Context:
255
255
 
256
256
        priv = BRASERO_BURN_PRIVATE (burn);
257
257
 
 
258
        BRASERO_BURN_LOG ("Reprobing for medium");
 
259
 
258
260
        /* reprobe the medium and wait for it to be probed */
259
261
        brasero_drive_reprobe (priv->dest);
260
 
        while (!(medium = brasero_drive_get_medium (priv->dest)))
 
262
        while ((medium = brasero_drive_get_medium (priv->dest)) == NULL)
261
263
                result = brasero_burn_sleep (burn, 250);
262
264
 
263
265
        return result;
1399
1401
                 * would clutter the disk, wasting space. */
1400
1402
                brasero_burn_session_get_output (priv->session,
1401
1403
                                                 &image,
1402
 
                                                 &toc,
1403
 
                                                 NULL);
 
1404
                                                 &toc);
1404
1405
                if (image)
1405
1406
                        g_remove (image);
1406
1407
                if (toc)
2187
2188
        brasero_burn_session_push_tracks (priv->session);
2188
2189
 
2189
2190
        brasero_track_disc_set_drive (BRASERO_TRACK_DISC (track), brasero_burn_session_get_burner (priv->session));
2190
 
        brasero_burn_session_add_track (priv->session, track);
 
2191
        brasero_burn_session_add_track (priv->session, track, NULL);
2191
2192
 
2192
2193
        /* It's good practice to unref the track afterwards as we don't need it
2193
2194
         * anymore. BraseroBurnSession refs it. */
2441
2442
 
2442
2443
        track = brasero_track_image_new ();
2443
2444
        brasero_track_image_set_source (track, image, toc, format);
2444
 
        brasero_burn_session_add_track (priv->session, BRASERO_TRACK (track));
 
2445
        brasero_burn_session_add_track (priv->session, BRASERO_TRACK (track), NULL);
2445
2446
 
2446
2447
        /* It's good practice to unref the track afterwards as we don't need it
2447
2448
         * anymore. BraseroBurnSession refs it. */