aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/addressbook-component.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-03-13 12:56:01 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-03-13 12:56:01 +0800
commit444f922980fcafd58659ed435aa50dfa86463951 (patch)
treed18fba3d621ab210d3b8bd27c4220555cc7a9621 /addressbook/gui/component/addressbook-component.c
parentd5ba94f758a5206dc7cd5b0cd222bb2c3d348ebe (diff)
downloadgsoc2013-evolution-444f922980fcafd58659ed435aa50dfa86463951.tar
gsoc2013-evolution-444f922980fcafd58659ed435aa50dfa86463951.tar.gz
gsoc2013-evolution-444f922980fcafd58659ed435aa50dfa86463951.tar.bz2
gsoc2013-evolution-444f922980fcafd58659ed435aa50dfa86463951.tar.lz
gsoc2013-evolution-444f922980fcafd58659ed435aa50dfa86463951.tar.xz
gsoc2013-evolution-444f922980fcafd58659ed435aa50dfa86463951.tar.zst
gsoc2013-evolution-444f922980fcafd58659ed435aa50dfa86463951.zip
Remove verb "AddressbookConfig". (config_cb): Removed.
* gui/component/addressbook.c: Remove verb "AddressbookConfig". (config_cb): Removed. * gui/component/addressbook-config.c: Remove `dialog' member from `AddresbookDialog'. Instead, add a `config_control' member. (config_control_new): New. (addressbook_config): Removed. (addressbook_config_register_factory): New. (config_control_factory_fn): New, factory function for the ConfigControl page. (addressbook_source_edit_changed): Don't change the sensitivity of the dialog. Rather, invoke ::changed on the ConfigPage. (auth_checkbutton_changed): No need to manually change the sensitiviness of the buttons here either. (add_source_clicked): Likewise, just invoke evolution_config_control_changed(). (edit_source_clicked): Likewise. (addressbook_dialog_close): Removed. (config_control_destroy_callback): New, callback for when the config control gets destroyed. (addressbook_dialog_apply): Removed. (config_control_apply_callback): New callback for EvolutionConfigControl::apply. (addressbook_dialog_ok): Removed. (addressbook_config_control_new): Set up ->config_control and connect the signals. * gui/component/addressbook-config.glade: Call the main hbox in the addressbook_sources dialog `addressbook_sources_main_hbox'. * gui/component/addressbook-component.c (owner_set_cb): Call `addresbook_config_register_factory'. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add items for OAFIID:GNOME_Evolution_Addresbook_ConfigControl and OAFIID:GNOME_Evolution_Addressbook_ConfigControlFactory. svn path=/trunk/; revision=16136
Diffstat (limited to 'addressbook/gui/component/addressbook-component.c')
-rw-r--r--addressbook/gui/component/addressbook-component.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index 7ff0f05770..c3f73a4262 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -367,6 +367,8 @@ owner_set_cb (EvolutionShellComponent *shell_component,
if (global_shell_client == NULL)
global_shell_client = shell_client;
+ addressbook_config_register_factory (bonobo_object_corba_objref (BONOBO_OBJECT (shell_client)));
+
addressbook_storage_setup (shell_component, evolution_homedir);
}