aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 17f334a7e..99b8c1abf 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -734,6 +734,15 @@ window_cmd_file_new_window (GtkAction *action,
}
void
+window_cmd_file_new_incognito_window (GtkAction *action,
+ EphyWindow *window)
+{
+ char *str = g_strdup_printf ("epiphany --incognito-mode --profile %s", ephy_dot_dir ());
+ g_spawn_command_line_async (str, NULL);
+ g_free (str);
+}
+
+void
window_cmd_edit_undo (GtkAction *action,
EphyWindow *window)
{