diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-08-30 00:50:22 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-08-30 00:50:22 +0800 |
commit | 2b04778f114d97dba2e9240bef6c5ba57f372f50 (patch) | |
tree | dd82f3d5c052d14aa07a2d630bb671646882ef6a | |
parent | efbe79e918a5c518f507a94d08505c009bec4a59 (diff) | |
download | gsoc2013-epiphany-2b04778f114d97dba2e9240bef6c5ba57f372f50.tar gsoc2013-epiphany-2b04778f114d97dba2e9240bef6c5ba57f372f50.tar.gz gsoc2013-epiphany-2b04778f114d97dba2e9240bef6c5ba57f372f50.tar.bz2 gsoc2013-epiphany-2b04778f114d97dba2e9240bef6c5ba57f372f50.tar.lz gsoc2013-epiphany-2b04778f114d97dba2e9240bef6c5ba57f372f50.tar.xz gsoc2013-epiphany-2b04778f114d97dba2e9240bef6c5ba57f372f50.tar.zst gsoc2013-epiphany-2b04778f114d97dba2e9240bef6c5ba57f372f50.zip |
ephy-window: same hack to allow ephy to launch itself from app mode
-rw-r--r-- | src/ephy-window.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |