From 54dd3d1fe778b2210cb23905148e294cef496fce Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 7 Jun 2004 11:33:03 +0000 Subject: Also load extensions from /home/users/ross --- src/ephy-shell.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 390ca3032..78060acf6 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -699,12 +699,19 @@ ephy_shell_get_extensions_manager (EphyShell *es) if (es->priv->extensions_manager == NULL) { + char *path; + /* Instantiate extensions manager */ es->priv->extensions_manager = ephy_extensions_manager_new (); /* load the extensions */ ephy_extensions_manager_load_dir (es->priv->extensions_manager, EXTENSIONS_DIR); + + path = g_build_filename (ephy_dot_dir (), "extensions", NULL); + ephy_extensions_manager_load_dir (es->priv->extensions_manager, + path); + g_free (path); } return G_OBJECT (es->priv->extensions_manager); -- cgit v1.2.3