~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to libbrasero-burn/burn-basics.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:
39
39
 
40
40
#include <gconf/gconf-client.h>
41
41
 
 
42
#include <gst/gst.h>
 
43
#include <gst/pbutils/pbutils.h>
 
44
 
42
45
#include "brasero-io.h"
43
46
 
44
47
#include "burn-basics.h"
201
204
}
202
205
 
203
206
gboolean
204
 
brasero_burn_library_start (void)
 
207
brasero_burn_library_start (int *argc,
 
208
                            char **argv [])
205
209
{
206
210
        GConfClient *client;
207
211
 
210
214
                          BRASERO_MINOR_VERSION,
211
215
                          BRASERO_SUB);
212
216
 
 
217
        /* Initialize external libraries (threads... */
 
218
        if (!g_thread_supported ())
 
219
                g_thread_init (NULL);
 
220
 
 
221
        /* ... and Gstreamer) */
 
222
        if (!gst_init_check (argc, argv, NULL))
 
223
                return FALSE;
 
224
 
 
225
        /* This is for missing codec automatic install */
 
226
        gst_pb_utils_init ();
 
227
 
213
228
        /* preload some gconf keys */
214
229
        client = gconf_client_get_default ();
215
230
        gconf_client_add_dir (client,
244
259
void
245
260
brasero_burn_library_stop (void)
246
261
{
 
262
        GConfClient *client;
 
263
 
247
264
        if (plugin_manager) {
248
265
                g_object_unref (plugin_manager);
249
266
                plugin_manager = NULL;
257
274
        /* Cleanup the io thing */
258
275
        brasero_io_shutdown ();
259
276
 
260
 
        /* close HAL connection */
261
 
//      brasero_hal_watch_destroy ();
 
277
        client = gconf_client_get_default ();
 
278
        gconf_client_remove_dir (client, "/apps/brasero", NULL);
262
279
}
263
280
 
264
281
gboolean