aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-08-03 00:01:48 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-08-03 00:01:48 +0800
commitd55879c531844be5e852d367c037e84e886d445a (patch)
tree9d9d74f157afb1ae8cb1402671bd900c07561c94 /embed
parent0eab68d17b8334c7c44a751a568de14193aac1c6 (diff)
downloadgsoc2013-epiphany-d55879c531844be5e852d367c037e84e886d445a.tar
gsoc2013-epiphany-d55879c531844be5e852d367c037e84e886d445a.tar.gz
gsoc2013-epiphany-d55879c531844be5e852d367c037e84e886d445a.tar.bz2
gsoc2013-epiphany-d55879c531844be5e852d367c037e84e886d445a.tar.lz
gsoc2013-epiphany-d55879c531844be5e852d367c037e84e886d445a.tar.xz
gsoc2013-epiphany-d55879c531844be5e852d367c037e84e886d445a.tar.zst
gsoc2013-epiphany-d55879c531844be5e852d367c037e84e886d445a.zip
revert last commit
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/mozilla-embed-single.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp
index cf8854e42..3a296f20a 100644
--- a/embed/mozilla/mozilla-embed-single.cpp
+++ b/embed/mozilla/mozilla-embed-single.cpp
@@ -324,6 +324,9 @@ mozilla_set_default_prefs (MozillaEmbedSingle *mes)
prefService->GetBranch ("", getter_AddRefs(pref));
if (pref == NULL) return FALSE;
+ /* Don't allow mozilla to raise window when setting focus (work around bugs) */
+ pref->SetBoolPref ("mozilla.widget.raise-on-setfocus", PR_FALSE);
+
/* set default search engine */
pref->SetCharPref ("keyword.URL", "http://www.google.com/search?q=");
pref->SetBoolPref ("keyword.enabled", PR_TRUE);