diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/Makefile.am | 1 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/embed/mozilla/Makefile.am b/embed/mozilla/Makefile.am index 89729f1f3..f309b0449 100644 --- a/embed/mozilla/Makefile.am +++ b/embed/mozilla/Makefile.am @@ -32,6 +32,7 @@ INCLUDES = \ -I$(MOZILLA_INCLUDE_ROOT)/xpcom \ $(EPIPHANY_DEPENDENCY_CFLAGS) \ -DSHARE_DIR=\"$(pkgdatadir)\" \ + -DMOZILLA_HOME=\"$(MOZILLA_HOME)\" \ -DALLOW_PRIVATE_API if MAINTAINER_MODE diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 66d6f54d1..356a83dc4 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -451,6 +451,9 @@ init_services (MozillaEmbedSingle *single) mozilla_init_home (); mozilla_init_profile (); + /* Set mozilla binary path */ + gtk_moz_embed_set_comp_path (MOZILLA_HOME); + /* Fire up the beast */ gtk_moz_embed_push_startup (); @@ -499,6 +502,8 @@ mozilla_embed_single_init (MozillaEmbedSingle *mes) { GtkWidget *dialog; + /* FIXME Kill references to MOZILLA_FIVE_HOME + when string freeze is over */ dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, |