aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-12-12 17:58:06 +0800
committerXan Lopez <xan@igalia.com>2012-12-12 19:22:39 +0800
commit5660617413c37eb397a50361b6ca5bdd250b5be5 (patch)
treed03508164c93e4e212587f33bf0a6dc1af703a4c /src/ephy-window.c
parent8b97d6e32fbe2e56a7012d731b5e864a86720504 (diff)
downloadgsoc2013-epiphany-5660617413c37eb397a50361b6ca5bdd250b5be5.tar
gsoc2013-epiphany-5660617413c37eb397a50361b6ca5bdd250b5be5.tar.gz
gsoc2013-epiphany-5660617413c37eb397a50361b6ca5bdd250b5be5.tar.bz2
gsoc2013-epiphany-5660617413c37eb397a50361b6ca5bdd250b5be5.tar.lz
gsoc2013-epiphany-5660617413c37eb397a50361b6ca5bdd250b5be5.tar.xz
gsoc2013-epiphany-5660617413c37eb397a50361b6ca5bdd250b5be5.tar.zst
gsoc2013-epiphany-5660617413c37eb397a50361b6ca5bdd250b5be5.zip
First iteration for 'Incognito mode'
For now this is just a private mode but with the following two twists: - We use the dark theme. - We steal our history and bookmarks from the main profile. This is done in 'read-only' mode though, so any changes made in this session will be lost. Add command line options and a UI item to launch the browser in this mode. https://bugzilla.gnome.org/show_bug.cgi?id=676914
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 6858b47f8..dbabe40c6 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -103,6 +103,8 @@ static const GtkActionEntry ephy_menu_entries [] = {
{ "FileNewWindow", NULL, N_("_New Window"), "<control>N", NULL,
G_CALLBACK (window_cmd_file_new_window) },
+ { "FileNewWindowIncognito", NULL, N_("New _Incognito Window"), "<control><shift>N", NULL,
+ G_CALLBACK (window_cmd_file_new_incognito_window) },
{ "FileOpen", NULL, N_("_Open…"), "<control>O", NULL,
G_CALLBACK (window_cmd_file_open) },
{ "FileSaveAs", NULL, N_("Save _As…"), "<shift><control>S", NULL,
@@ -3777,6 +3779,7 @@ _gtk_css_provider_load_from_resource (GtkCssProvider* provider,
static const gchar* app_actions[] = {
"FileNewWindow",
+ "FileNewWindowIncognito",
"EditPreferences",
"EditPersonalData",
"EditBookmarks",