~ubuntu-branches/ubuntu/maverick/brasero/maverick

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2009-11-26 16:20:01 UTC
  • mfrom: (1.1.34 upstream)
  • Revision ID: james.westby@ubuntu.com-20091126162001-adzp6h0x5ow9bc4b
Tags: 2.29.2-0ubuntu1
* New upstream release:
  - Integrate Brasero with PackageKit
  - Gobject-introspection support for libbrasero-media and libbrasero-burn
  - Added Tracker support for searches besides Beagle
  - Fix compile failure using --disable-introspection see bgo #602027
  - Removed deprecated GLib symbols fixes bgo #601040
  - Fix #601871 - Wrong remaining space when audio CD of size greater than 70
    min
  - Fix #601496 - Select disc image selector allows to selecd pictures
  - Fix #601109 - burning disks with burn:// doesn't set the disk label
  - Fix #601259 - Problems with folder depth
  - Fix #599655 - brasero crashed with SIGSEGV in g_main_context_dispatch()
  - Fix #588323 - crash in Disc Copier: Dragging a track from Banshee
  - Fix #600007 - Memory leaks in brasero
  - Fix #600293 - Fails to build error: cannot convert to a pointer type
* debian/control.in:
  - Bump build-depends on libglib2.0-dev
* debian/patches/012_build_error.patch:
  - Applied upstream
* debian/patches/010_lpi.patch:
* debian/patches/011_nautilus_menu_move.patch:
* debian/patches/99_autoconf.patch:
  - Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        GtkWidget *multi;
65
65
        GtkWidget *burnproof;
66
66
        GtkWidget *notmp;
67
 
        GtkWidget *eject;
68
67
 
69
68
        GtkWidget *tmpdir;
70
69
};
102
101
}
103
102
 
104
103
static void
105
 
brasero_drive_properties_eject_toggled (GtkToggleButton *button,
106
 
                                        BraseroDriveProperties *self)
107
 
{
108
 
        BraseroDrivePropertiesPrivate *priv;
109
 
 
110
 
        priv = BRASERO_DRIVE_PROPERTIES_PRIVATE (self);
111
 
 
112
 
        /* retrieve the flags */
113
 
        if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (priv->eject)))
114
 
                brasero_session_cfg_add_flags (priv->session,
115
 
                                               BRASERO_BURN_FLAG_EJECT);
116
 
        else
117
 
                brasero_session_cfg_remove_flags (priv->session,
118
 
                                                  BRASERO_BURN_FLAG_EJECT);
119
 
}
120
 
 
121
 
static void
122
104
brasero_drive_properties_dummy_toggled (GtkToggleButton *button,
123
105
                                        BraseroDriveProperties *self)
124
106
{
483
465
                                                   supported,
484
466
                                                   compulsory);
485
467
        brasero_drive_properties_set_toggle_state (self,
486
 
                                                   priv->eject,
487
 
                                                   BRASERO_BURN_FLAG_EJECT,
488
 
                                                   flags,
489
 
                                                   supported,
490
 
                                                   compulsory);                                            
491
 
        brasero_drive_properties_set_toggle_state (self,
492
468
                                                   priv->burnproof,
493
469
                                                   BRASERO_BURN_FLAG_BURNPROOF,
494
470
                                                   flags,
757
733
        gtk_widget_show (priv->dummy);
758
734
        priv->burnproof = gtk_check_button_new_with_mnemonic (_("Use burn_proof (decrease the risk of failures)"));
759
735
        gtk_widget_show (priv->burnproof);
760
 
        priv->eject = gtk_check_button_new_with_mnemonic (_("_Eject after burning"));
761
 
        gtk_widget_show (priv->eject);
762
736
        priv->notmp = gtk_check_button_new_with_mnemonic (_("Burn the image directly _without saving it to disc"));
763
737
        gtk_widget_show (priv->notmp);
764
738
        priv->multi = gtk_check_button_new_with_mnemonic (_("Leave the disc _open to add other files later"));
773
747
                          "toggled",
774
748
                          G_CALLBACK (brasero_drive_properties_burnproof_toggled),
775
749
                          object);
776
 
        g_signal_connect (priv->eject,
777
 
                          "toggled",
778
 
                          G_CALLBACK (brasero_drive_properties_eject_toggled),
779
 
                          object);
780
750
        g_signal_connect (priv->multi,
781
751
                          "toggled",
782
752
                          G_CALLBACK (brasero_drive_properties_multi_toggled),
789
759
        string = g_strdup_printf ("<b>%s</b>", _("Options"));
790
760
        gtk_box_pack_start (GTK_BOX (vbox),
791
761
                            brasero_utils_pack_properties (string,
792
 
                                                           priv->eject,
793
762
                                                           priv->dummy,
794
763
                                                           priv->burnproof,
795
764
                                                           priv->multi,