aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/e-shell.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 00bcd61226..22ea2702b4 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1305,6 +1305,7 @@ e_shell_get_default (void)
void
e_shell_load_modules (EShell *shell)
{
+ EClientCache *client_cache;
const gchar *module_directory;
GList *list;
@@ -1331,6 +1332,11 @@ e_shell_load_modules (EShell *shell)
g_list_foreach (list, (GFunc) shell_process_backend, shell);
shell->priv->loaded_backends = list;
+ /* XXX The client cache needs extra help loading its extensions,
+ * since it gets instantiated before any modules are loaded. */
+ client_cache = e_shell_get_client_cache (shell);
+ e_extensible_load_extensions (E_EXTENSIBLE (client_cache));
+
shell->priv->modules_loaded = TRUE;
}