aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook-config.c10
2 files changed, 16 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index cd491cb429..895f0cb0d2 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
2002-05-03 Christopher James Lahey <clahey@ximian.com>
+ * 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 <clahey@ximian.com>
+
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Updated this
to have the ConfigControlFactory have an addressbookwide generic
name and added OAFIID:GNOME_Evolution_Addressbook_ConfigControl.
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
@@ -1631,11 +1631,19 @@ ldap_config_control_new (GNOME_Evolution_Shell shell)
}
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",