[epiphany] ephy-embed-single: also initialize nspluginwrapper plugins in WebKit2
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-embed-single: also initialize nspluginwrapper plugins in WebKit2
- Date: Wed, 13 Mar 2013 14:52:59 +0000 (UTC)
commit 09f082567a909bc9369f57a2e14b28846057814e
Author: Xan Lopez <xan igalia com>
Date: Wed Mar 13 15:51:30 2013 +0100
ephy-embed-single: also initialize nspluginwrapper plugins in WebKit2
Should not be as important as in WebKit1, but no reason to not do it.
embed/ephy-embed-single.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/embed/ephy-embed-single.c b/embed/ephy-embed-single.c
index 861b4ef..f473cd9 100644
--- a/embed/ephy-embed-single.c
+++ b/embed/ephy-embed-single.c
@@ -186,6 +186,10 @@ ephy_embed_single_initialize (EphyEmbedSingle *single)
char *filename;
char *cookie_policy;
+ /* Initialise nspluginwrapper's plugins if available. */
+ if (g_file_test (NSPLUGINWRAPPER_SETUP, G_FILE_TEST_EXISTS) != FALSE)
+ g_spawn_command_line_sync (NSPLUGINWRAPPER_SETUP, NULL, NULL, NULL, NULL);
+
web_context = webkit_web_context_get_default ();
/* Store cookies in moz-compatible SQLite format */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]