~mfisch/brasero/update-to-3.8.0

« back to all changes in this revision

Viewing changes to src/brasero-split-dialog.c

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-05-18 17:53:39 UTC
  • mfrom: (1.1.47 upstream) (1.4.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110518175339-so6a6fejezs5i1pc
Tags: 3.0.0-1ubuntu1
* Rebase from Debian and GNOME3 PPA. Remaining Ubuntu changes:
* debian/control:
  - Build-Depend on dh-autoreconf, libappindicator3-dev and
    liblaunchpad-integration-3.0-dev
  - Recommends: brasero-cdrkit
  - libbrasero-media3-1 Depends on dvd+rw-tools not growisofs and
    Suggests rather than Recommends gstreamer plugin packages
* debian/patches/010_lpi.patch:
  - Launchpad integration patch
* debian/patches/012_appindicator.patch:
  - Use application indicators
* debian/rules:
  - Include autoreconf.mk
* debian/watch:
  - Watch unstable releases also

Show diffs side-by-side

added added

removed removed

Lines of Context:
726
726
                                     BraseroSplitDialog *self)
727
727
{
728
728
        BraseroSplitDialogPrivate *priv;
729
 
        GtkTreeModel *model;
730
729
        guint page;
731
730
 
732
731
        priv = BRASERO_SPLIT_DIALOG_PRIVATE (self);
741
740
                return;
742
741
        }
743
742
 
744
 
        model = gtk_tree_view_get_model (GTK_TREE_VIEW (priv->tree));
745
743
        if (!brasero_split_dialog_clear_confirm_dialog (self,
746
744
                                                        _("Do you really want to carry on with automatic splitting?"),
747
745
                                                        _("_Don't split"),
958
956
                                       BraseroSplitDialog *self)
959
957
{
960
958
        BraseroSplitDialogPrivate *priv;
961
 
        GtkTreeModel *model;
962
959
 
963
960
        priv = BRASERO_SPLIT_DIALOG_PRIVATE (self);
964
961
        if (!brasero_split_dialog_clear_confirm_dialog (self,
967
964
                                                        _("Re_move All")))
968
965
                return;
969
966
 
970
 
        model = gtk_tree_view_get_model (GTK_TREE_VIEW (priv->tree));
971
967
        gtk_list_store_clear (priv->model);
972
968
}
973
969
 
1065
1061
        hbox = gtk_hbox_new (FALSE, 6);
1066
1062
        gtk_widget_show (hbox);
1067
1063
 
1068
 
        priv->combo = gtk_combo_box_new_text ();
 
1064
        priv->combo = gtk_combo_box_text_new ();
1069
1065
 
1070
1066
        label = gtk_label_new_with_mnemonic (_("M_ethod:"));
1071
1067
        gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
1076
1072
        gtk_widget_set_tooltip_text (priv->combo, _("Method to be used to split the track"));
1077
1073
        gtk_widget_show (priv->combo);
1078
1074
        gtk_box_pack_start (GTK_BOX (hbox), priv->combo, TRUE, TRUE, 0);
1079
 
        gtk_combo_box_append_text (GTK_COMBO_BOX (priv->combo), _("Split track manually"));
1080
 
        gtk_combo_box_append_text (GTK_COMBO_BOX (priv->combo), _("Split track in parts with a fixed length"));
1081
 
        gtk_combo_box_append_text (GTK_COMBO_BOX (priv->combo), _("Split track in a fixed number of parts"));
1082
 
        gtk_combo_box_append_text (GTK_COMBO_BOX (priv->combo), _("Split track for each silence"));
 
1075
        gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (priv->combo), _("Split track manually"));
 
1076
        gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (priv->combo), _("Split track in parts with a fixed length"));
 
1077
        gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (priv->combo), _("Split track in a fixed number of parts"));
 
1078
        gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (priv->combo), _("Split track for each silence"));
1083
1079
        g_signal_connect (priv->combo,
1084
1080
                          "changed",
1085
1081
                          G_CALLBACK (brasero_split_dialog_combo_changed_cb),