From 2b04778f114d97dba2e9240bef6c5ba57f372f50 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 29 Aug 2011 18:50:22 +0200 Subject: ephy-window: same hack to allow ephy to launch itself from app mode --- src/ephy-window.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ephy-window.c b/src/ephy-window.c index f6ce48d1b..3a0df31e1 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -2627,6 +2627,10 @@ policy_decision_required_cb (WebKitWebView *web_view, GError *error = NULL; return_value = TRUE; + /* A gross hack to be able to launch epiphany from within + * Epiphany. Might be a good idea to figure out a better + * solution... */ + g_unsetenv (EPHY_UUID_ENVVAR); command_line = g_strdup_printf ("gvfs-open %s", uri); g_spawn_command_line_async (command_line, &error); -- cgit v1.2.3