diff options
author | Xan Lopez <xan@igalia.com> | 2012-12-12 17:58:06 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-12-12 19:22:39 +0800 |
commit | 5660617413c37eb397a50361b6ca5bdd250b5be5 (patch) | |
tree | d03508164c93e4e212587f33bf0a6dc1af703a4c /src/resources | |
parent | 8b97d6e32fbe2e56a7012d731b5e864a86720504 (diff) | |
download | gsoc2013-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/resources')
-rw-r--r-- | src/resources/epiphany-application-menu.ui | 5 | ||||
-rw-r--r-- | src/resources/epiphany-ui.xml | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/epiphany-application-menu.ui b/src/resources/epiphany-application-menu.ui index ab0202b30..36fa068a4 100644 --- a/src/resources/epiphany-application-menu.ui +++ b/src/resources/epiphany-application-menu.ui @@ -4,6 +4,11 @@ <section> <item> <attribute name="label" translatable="yes">_New Window</attribute> + <attribute name="action">app.new-incognito</attribute> + <attribute name="accel"><Primary>i</attribute> + </item> + <item> + <attribute name="label" translatable="yes">New _Incognito Window</attribute> <attribute name="action">app.new</attribute> <attribute name="accel"><Primary>n</attribute> </item> diff --git a/src/resources/epiphany-ui.xml b/src/resources/epiphany-ui.xml index 493cff2a7..4afa856fe 100644 --- a/src/resources/epiphany-ui.xml +++ b/src/resources/epiphany-ui.xml @@ -69,6 +69,7 @@ <popup name="PagePopup" action="PagePopupAction" accelerators="true"> <menuitem name="FileNewWindowMenu" action="FileNewWindow"/> + <menuitem name="FileNewWindowIncognitoMenu" action="FileNewWindowIncognito"/> <menuitem name="FileNewTabMenu" action="FileNewTab"/> <menuitem name="FileOpenMenu" action="FileOpen"/> <separator name="FileSep1"/> |