aboutsummaryrefslogtreecommitdiffstats
path: root/importers/evolution-gnomecard-importer.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-08 06:21:32 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-08 06:21:32 +0800
commit325fb5714b03624cc7f90d00a57d23b435b943c5 (patch)
tree78985aa01f0096eb8bd9fd0a4b533f42da918fae /importers/evolution-gnomecard-importer.c
parent000be301290e1a96cbf4c01e4674d5a20c60e67b (diff)
downloadgsoc2013-evolution-325fb5714b03624cc7f90d00a57d23b435b943c5.tar.gz
gsoc2013-evolution-325fb5714b03624cc7f90d00a57d23b435b943c5.tar.zst
gsoc2013-evolution-325fb5714b03624cc7f90d00a57d23b435b943c5.zip
New layout
svn path=/trunk/; revision=12691
Diffstat (limited to 'importers/evolution-gnomecard-importer.c')
-rw-r--r--importers/evolution-gnomecard-importer.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/importers/evolution-gnomecard-importer.c b/importers/evolution-gnomecard-importer.c
index 141bd0338e..9a558ad783 100644
--- a/importers/evolution-gnomecard-importer.c
+++ b/importers/evolution-gnomecard-importer.c
@@ -222,25 +222,22 @@ checkbox_toggle_cb (GtkToggleButton *tb,
static BonoboControl *
create_checkboxes_control (GnomeCardImporter *importer)
{
- GtkWidget *container, *vbox;
+ GtkWidget *label, *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_hbox_new (FALSE, 2);
+ label = gtk_label_new (_("GnomeCard:"));
importer->addresses = gtk_check_button_new_with_label (_("Addressbook"));
gtk_signal_connect (GTK_OBJECT (importer->addresses), "toggled",
GTK_SIGNAL_FUNC (checkbox_toggle_cb),
&importer->do_addresses);
- gtk_box_pack_start (GTK_BOX (vbox), importer->addresses, FALSE, FALSE, 0);
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (importer->addresses),
- importer->do_addresses);
+ gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (hbox), importer->addresses, 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;
}