From fb668c002d303b89087636c874f06d799234e2dd Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 3 Sep 2002 20:40:26 +0000 Subject: [ fixes #29699 ] call _set_source with a NULL source to fill in dialog 2002-09-03 Chris Toshok [ fixes #29699 ] * gui/component/addressbook-config.c (addressbook_add_server_druid): call _set_source with a NULL source to fill in dialog settings that are set from the option menus (like the SSL setting). svn path=/trunk/; revision=17954 --- addressbook/gui/component/addressbook-config.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index 3e9b342f40..40f47b0ae8 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -1062,6 +1062,9 @@ addressbook_add_server_druid (AddressbookDialog *dialog) gtk_signal_connect (GTK_OBJECT(sdialog->window), "destroy", GTK_SIGNAL_FUNC(addressbook_source_dialog_destroy), sdialog); + /* make sure we fill in the default values */ + addressbook_source_dialog_set_source (sdialog, NULL); + gtk_window_set_modal (GTK_WINDOW (sdialog->window), TRUE); gtk_widget_show (sdialog->window); -- cgit v1.2.3