aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-component.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c
index b066330a49..4a73821630 100644
--- a/addressbook/gui/component/addressbook-component.c
+++ b/addressbook/gui/component/addressbook-component.c
@@ -41,6 +41,10 @@
#define COMPONENT_FACTORY_ID "evolution-shell-component-factory:addressbook"
#endif
+/* Nasty hack for filters to be able to find folders */
+/* Not even used with addressbook??? */
+EvolutionShellClient *global_shell_client;
+
static BonoboGenericFactory *factory = NULL;
static const EvolutionShellComponentFolderType folder_types[] = {
@@ -81,6 +85,9 @@ owner_set_cb (EvolutionShellComponent *shell_component,
{
owner_count ++;
+ if (global_shell_client == NULL)
+ global_shell_client = shell_client;
+
setup_ldap_storage (shell_component, evolution_homedir);
}