~ubuntu-branches/ubuntu/lucid/brasero/lucid-updates

« back to all changes in this revision

Viewing changes to src/brasero-setting.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-06-24 11:22:46 UTC
  • mfrom: (1.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100624112246-s5ubbf8tafqkir0m
Tags: 2.30.2-0ubuntu1
* New upstream release
  - Lot's of memleak fixes
  - Fixed a runtime warning related to cancelling tracker searches
  - Crash in brasero_data_project_node_removed at
    brasero-data-project.c:1163
  - brasero crashed with SIGSEGV in brasero_data_project_remove_node()
    (LP: #561319)
  - Fix a few runtime warnings with the Cover Editor
  - Text in cover editor does not show up automatically (LP: #469459)
  - Removed use of deprecated flags
  - Use accessor functions instead direct access (use GSEAL GnomeGoal)
  - Fix a bug in the layout on first start (side pane was hidden and
    remained so until the user moved it)
  - Save printer settings for cover printing
  - Write the contents of the GtkTextBuffer displayed line by displayed
    line which should improve the layout
  - "Write to Disc" button sensitivity regression
  - Fix flaw in mask that led libburn plugin not to work (not to be picked
    up actually) in some circumstances
  - Fails to burn ANY audio project
  - Move columns doesn't work (LP: #581759)
  - Brasero does not correctly handle double clicking on column separators
    (LP: #581885)
  - Bad info when burning, high CPU usage and slow burn
  - Change the priority for cdrdao and raised the one of cdda2wav plugin
  - brasero crashed with SIGSEGV in
    brasero_mmc3_get_performa nce_wrt_spd_desc() (LP: #564766)
  - brasero crashed with SIGSEGV in brasero_scsi_command_issue_sync()
    (LP: #444832)
  - Do not check for symlinks on cdda2wav so the plugin can use icedax.
  - Brasero's failure with some file names (LP: #380643)
  - Pressing create audio cd does nothing
  - Empty project not available
  - can't actually save error logs
  - doesn't handle incorrect temp dirs properly
  - Fix multi DND in GtkFileChooser
  - Displays "starting to record" during whole burn process
  - Fix wrong report of speed with both cdrecord and wodim
  - Disk project doesn't save the disk title (LP: #587924)
  - Brasero reports outdated cdrtools on cdrtools-3.00 (LP: #592075)
  - misc bug fixes
  - Updated Translations
* Removed upstream patches:
  - debian/patches/90_git_audio_project_creation.patch,
    debian/patches/91_git_audio_project_creation.patch,
    debian/patches/92_git_audio_cd_recording.patch,
    debian/patches/93_git_new_caps_function_definition.patch
* debian/patches/99_autoconf.patch:
  - refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
280
280
        return TRUE;
281
281
}
282
282
 
 
283
static gint
 
284
brasero_setting_get_integer (GKeyFile *file,
 
285
                             const gchar *group_name,
 
286
                             const gchar *key)
 
287
{
 
288
        GError *error = NULL;
 
289
        gint int_value;
 
290
 
 
291
        int_value = g_key_file_get_integer (file, group_name, key, &error);
 
292
        if (!int_value && error) {
 
293
                g_error_free (error);
 
294
                return -1;
 
295
        }
 
296
 
 
297
        return int_value;
 
298
}
 
299
 
283
300
gboolean
284
301
brasero_setting_load (BraseroSetting *setting)
285
302
{
344
361
                                                     "Display",
345
362
                                                     "main-window-maximized",
346
363
                                                     NULL);
347
 
        priv->stock_file_chooser_percent = g_key_file_get_integer (key_file,
348
 
                                                                   "Display",
349
 
                                                                   "stock-file-chooser-percent",
350
 
                                                                   NULL);
351
 
        priv->brasero_file_chooser_percent = g_key_file_get_integer (key_file,
352
 
                                                                     "Display",
353
 
                                                                     "brasero-file-chooser-percent",
354
 
                                                                     NULL);
 
364
        priv->stock_file_chooser_percent = brasero_setting_get_integer (key_file,
 
365
                                                                        "Display",
 
366
                                                                        "stock-file-chooser-percent");
 
367
        priv->brasero_file_chooser_percent = brasero_setting_get_integer (key_file,
 
368
                                                                          "Display",
 
369
                                                                          "brasero-file-chooser-percent");
355
370
        priv->player_volume = g_key_file_get_integer (key_file,
356
371
                                                      "Player",
357
372
                                                      "player-volume",
384
399
                                                          "Player",
385
400
                                                          "video-size-height",
386
401
                                                          NULL);
387
 
        priv->display_proportion = priv->image_size_width = g_key_file_get_integer (key_file,
388
 
                                                                                  "Display",
389
 
                                                                                  "pane-position",
390
 
                                                                                  NULL);
391
 
 
 
402
        priv->display_proportion = brasero_setting_get_integer (key_file,
 
403
                                                                "Display",
 
404
                                                                "pane-position");
392
405
        g_key_file_free (key_file);
393
406
 
394
407
        return TRUE;