diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-05-04 04:55:10 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-05-04 04:55:10 +0800 |
commit | be8429b092632605e0e087c14e9d022ce682acf0 (patch) | |
tree | d10c8a4b2342435851b543328247b7945ee5d126 | |
parent | 95ba1fd855c0cea8ae18f9963e800f7189adf459 (diff) | |
download | gsoc2013-evolution-be8429b092632605e0e087c14e9d022ce682acf0.tar.gz gsoc2013-evolution-be8429b092632605e0e087c14e9d022ce682acf0.tar.zst gsoc2013-evolution-be8429b092632605e0e087c14e9d022ce682acf0.zip |
Call evolution_config_control_changed when the EFolderList changes.
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.
svn path=/trunk/; revision=16680
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook-config.c | 10 |
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", |