aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-03-28 23:07:20 +0800
committerChristian Persch <chpe@src.gnome.org>2008-03-28 23:07:20 +0800
commite39576f8c4c20c9bd668cbd3840dfaadb774f5cf (patch)
treeb48dc0d724a53ee46a9a41d7c7b549f7e717dcec /embed/mozilla
parent4ef8f15056956ac280c4d280a65a7b652e53f343 (diff)
downloadgsoc2013-epiphany-e39576f8c4c20c9bd668cbd3840dfaadb774f5cf.tar
gsoc2013-epiphany-e39576f8c4c20c9bd668cbd3840dfaadb774f5cf.tar.gz
gsoc2013-epiphany-e39576f8c4c20c9bd668cbd3840dfaadb774f5cf.tar.bz2
gsoc2013-epiphany-e39576f8c4c20c9bd668cbd3840dfaadb774f5cf.tar.lz
gsoc2013-epiphany-e39576f8c4c20c9bd668cbd3840dfaadb774f5cf.tar.xz
gsoc2013-epiphany-e39576f8c4c20c9bd668cbd3840dfaadb774f5cf.tar.zst
gsoc2013-epiphany-e39576f8c4c20c9bd668cbd3840dfaadb774f5cf.zip
Try to fix the gecko 1.8 backend, and this also might fix the branding bundle not working on 1.9
svn path=/branches/gnome-2-22/; revision=8147
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index 92108425a..082e2cff2 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -196,7 +196,7 @@ mozilla_set_default_prefs (MozillaEmbedSingle *mes)
pref->ClearUserPref ("general.useragent.vendorSub");
/* Don't open ftp uris with an external handler if one is setup */
- pref->SetBoolPref ("network.protocol-handler.external.ftp", PR_FALSE);
+ pref->SetBoolPref ("network.protocol-handler.external.ftp", PR_FALSE);
return TRUE;
}
@@ -332,7 +332,6 @@ mozilla_init_profile (void)
profile_path = g_build_filename (ephy_dot_dir (),
MOZILLA_PROFILE_DIR,
(char *) NULL);
- gtk_moz_embed_set_comp_path (profile_path);
gtk_moz_embed_set_profile_path (profile_path, MOZILLA_PROFILE_NAME);
g_free (profile_path);
}
@@ -635,9 +634,6 @@ impl_init (EphyEmbedSingle *esingle)
gtk_moz_embed_set_comp_path (MOZILLA_HOME);
#endif
#endif // XPCOM_GLUE
- /* Fire up the beast */
- gtk_moz_embed_push_startup ();
-
/* Pre initialization */
mozilla_init_plugin_path ();
@@ -654,6 +650,8 @@ impl_init (EphyEmbedSingle *esingle)
gtk_moz_embed_set_directory_service_provider (dp);
+ /* Fire up the beast */
+ gtk_moz_embed_push_startup ();
/* FIXME check that it succeeded! */
mozilla_register_components ();