summaryrefslogtreecommitdiff
path: root/lib/ephy-file-helpers.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2016-10-28 06:50:20 -0500
committerMichael Catanzaro <mcatanzaro@gnome.org>2016-10-28 06:54:07 -0500
commit1bf51d133667985ee7f89168e2d68e8bed8c4f03 (patch)
treee7b7ca0f7ac33f22520ce734eccc0866acd91b4c /lib/ephy-file-helpers.c
parent1c4b038c2ddc3ca417299eeb2d015a70b59405ea (diff)
downloadepiphany-1bf51d133667985ee7f89168e2d68e8bed8c4f03.tar.gz
"New Window" should never open incognito window
There is already a different menu item to get an incognito window. https://bugzilla.gnome.org/show_bug.cgi?id=723185
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r--lib/ephy-file-helpers.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 5b401b566..6b54d9a45 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -977,6 +977,19 @@ ephy_sanitize_filename (char *filename)
}
void
+ephy_open_default_instance_window (void)
+{
+ GError *error = NULL;
+
+ g_spawn_command_line_async ("epiphany", &error);
+
+ if (error) {
+ g_warning ("Couldn't open default instance: %s", error->message);
+ g_error_free (error);
+ }
+}
+
+void
ephy_open_incognito_window (const char *uri)
{
char *command;