diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/ephy-shell.c | 7 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2004-06-07 Ross Burton <ross@burtonini.com> + + * src/ephy-shell.c: + Load extensions from ~/.gnome2/epiphany/extensions as well. + 2004-06-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker: 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); |