From be8429b092632605e0e087c14e9d022ce682acf0 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 3 May 2002 20:55:10 +0000 Subject: Call evolution_config_control_changed when the EFolderList changes. 2002-05-03 Christopher James Lahey * gui/component/addressbook-config.c (addressbook_folder_list_changed_callback): Call evolution_config_control_changed when the EFolderList changes. svn path=/trunk/; revision=16680 --- addressbook/ChangeLog | 6 ++++++ addressbook/gui/component/addressbook-config.c | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index cd491cb429..895f0cb0d2 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2002-05-03 Christopher James Lahey + + * gui/component/addressbook-config.c + (addressbook_folder_list_changed_callback): Call + evolution_config_control_changed when the EFolderList changes. + 2002-05-03 Christopher James Lahey * gui/component/GNOME_Evolution_Addressbook.oaf.in: Updated this diff --git a/addressbook/gui/component/addressbook-config.c b/addressbook/gui/component/addressbook-config.c index ea5a4cf9df..94363daf20 100644 --- a/addressbook/gui/component/addressbook-config.c +++ b/addressbook/gui/component/addressbook-config.c @@ -1630,12 +1630,20 @@ ldap_config_control_new (GNOME_Evolution_Shell shell) return control; } +static void +addressbook_folder_list_changed_callback (EFolderList *efl, + EvolutionConfigControl *control) +{ + evolution_config_control_changed (control); +} + static void addressbook_config_control_destroy_callback (EvolutionConfigControl *config_control, void *data) { } + static void addressbook_config_control_apply_callback (EvolutionConfigControl *config_control, EFolderList *list) @@ -1686,6 +1694,8 @@ addressbook_config_control_new (GNOME_Evolution_Shell shell) control = evolution_config_control_new (control_widget); + gtk_signal_connect (GTK_OBJECT (control_widget), "changed", + GTK_SIGNAL_FUNC (addressbook_folder_list_changed_callback), control); gtk_signal_connect (GTK_OBJECT (control), "apply", GTK_SIGNAL_FUNC (addressbook_config_control_apply_callback), control_widget); gtk_signal_connect (GTK_OBJECT (control), "destroy", -- cgit v1.2.3