From 355c8a074e0a1b262a454810d8c2aa42b4e21edf Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 5 Jan 2001 04:50:50 +0000 Subject: Fixed a few 'Oops'es. 2001-01-04 Jeffrey Stedfast * mail-config-druid.c: Fixed a few 'Oops'es. * mail-config-druid.glade: Added a "Default" button for marking an account as the default. svn path=/trunk/; revision=7266 --- mail/mail-config-druid.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mail/mail-config-druid.c') diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c index de11828a2c..38917fffb5 100644 --- a/mail/mail-config-druid.c +++ b/mail/mail-config-druid.c @@ -68,7 +68,7 @@ mail_config_druid_class_init (MailConfigDruidClass *class) GtkObjectClass *object_class; object_class = (GtkObjectClass *) class; - parent_class = gtk_type_class (gnome_dialog_get_type ()); + parent_class = gtk_type_class (gtk_window_get_type ()); object_class->finalize = mail_config_druid_finalise; /* override methods */ @@ -637,18 +637,18 @@ static void construct (MailConfigDruid *druid) { GladeXML *gui; - GnomeDruid *druid; + GtkWidget *widget; gui = glade_xml_new (EVOLUTION_DATA_DIR "/mail-config-druid.glade", "mail-config-window"); druid->gui = gui; /* get our toplevel widget */ - druid = GNOME_DRUID (glade_xml_get_widget (gui, "gnome-config-druid")); + widget = glade_xml_get_widget (gui, "gnome-config-druid"); /* reparent */ - gtk_widget_reparent (notebook, GTK_WIDGET (druid)); + gtk_widget_reparent (widget, GTK_WIDGET (druid)); - druid->druid = druid; + druid->druid = GNOME_DRUID (widget); /* get our cared-about widgets */ druid->account_text = glade_xml_get_widget (gui, "htmlAccountInfo"); -- cgit