diff options
author | Carlos Garcia Campos <cgarcia@igalia.com> | 2013-03-17 23:22:34 +0800 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2013-03-19 00:33:36 +0800 |
commit | fca6216c67cea8ac074c6af912526066aa6dd098 (patch) | |
tree | 0e7c0f058edf49b4e20de920b0647fa8d561352d /embed/ephy-web-view.c | |
parent | d54c82c4f07888c6aa7f7aa104e0e253ec770b86 (diff) | |
download | gsoc2013-epiphany-fca6216c67cea8ac074c6af912526066aa6dd098.tar gsoc2013-epiphany-fca6216c67cea8ac074c6af912526066aa6dd098.tar.gz gsoc2013-epiphany-fca6216c67cea8ac074c6af912526066aa6dd098.tar.bz2 gsoc2013-epiphany-fca6216c67cea8ac074c6af912526066aa6dd098.tar.lz gsoc2013-epiphany-fca6216c67cea8ac074c6af912526066aa6dd098.tar.xz gsoc2013-epiphany-fca6216c67cea8ac074c6af912526066aa6dd098.tar.zst gsoc2013-epiphany-fca6216c67cea8ac074c6af912526066aa6dd098.zip |
embed: Use a custom WebKitWebViewGroup for all ephy web views
Create all ephy web views with the global group that shares all the
global settings.
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 98b29d27c..439d83347 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -2835,7 +2835,11 @@ ephy_web_view_init (EphyWebView *web_view) GtkWidget * ephy_web_view_new (void) { - return g_object_new (EPHY_TYPE_WEB_VIEW, NULL); + return g_object_new (EPHY_TYPE_WEB_VIEW, +#ifdef HAVE_WEBKIT2 + "group", ephy_embed_prefs_get_web_view_group (), +#endif + NULL); } static gboolean |