aboutsummaryrefslogtreecommitdiffstats
path: root/importers/netscape-importer.c
diff options
context:
space:
mode:
Diffstat (limited to 'importers/netscape-importer.c')
-rw-r--r--importers/netscape-importer.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/importers/netscape-importer.c b/importers/netscape-importer.c
index 7d1f0d25e7..eb420b146d 100644
--- a/importers/netscape-importer.c
+++ b/importers/netscape-importer.c
@@ -945,13 +945,10 @@ checkbox_toggle_cb (GtkToggleButton *tb,
static BonoboControl *
create_checkboxes_control (NetscapeImporter *importer)
{
- GtkWidget *container, *vbox;
+ GtkWidget *hbox;
BonoboControl *control;
- container = gtk_frame_new (_("Import"));
- vbox = gtk_vbox_new (FALSE, 2);
- gtk_container_set_border_width (GTK_CONTAINER (container), 2);
- gtk_container_add (GTK_CONTAINER (container), vbox);
+ hbox = gtk_vbox_new (FALSE, 2);
importer->mail = gtk_check_button_new_with_label (_("Mail"));
gtk_signal_connect (GTK_OBJECT (importer->mail), "toggled",
@@ -963,15 +960,11 @@ create_checkboxes_control (NetscapeImporter *importer)
GTK_SIGNAL_FUNC (checkbox_toggle_cb),
&importer->do_settings);
- gtk_box_pack_start (GTK_BOX (vbox), importer->mail, FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX (vbox), importer->settings, FALSE, FALSE, 0);
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (importer->mail),
- importer->do_mail);
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (importer->settings),
- importer->do_settings);
+ gtk_box_pack_start (GTK_BOX (hbox), importer->mail, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (hbox), importer->settings, FALSE, FALSE, 0);
- gtk_widget_show_all (container);
- control = bonobo_control_new (container);
+ gtk_widget_show_all (hbox);
+ control = bonobo_control_new (hbox);
return control;
}
@@ -1011,7 +1004,7 @@ factory_fn (BonoboGenericFactory *_factory,
importer = evolution_intelligent_importer_new (netscape_can_import,
netscape_create_structure,
- "Netscape mail",
+ "Netscape",
_(message), netscape);
gtk_signal_connect (GTK_OBJECT (importer), "destroy",
GTK_SIGNAL_FUNC (netscape_destroy_cb), netscape);