aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index d1c0170d1..6858b47f8 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2530,10 +2530,7 @@ decide_policy_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);
@@ -2668,10 +2665,7 @@ 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);