aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-shell.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-07-19 16:27:06 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-07-19 16:27:06 +0800
commita43be88202d423307d4612e444e984cea45f6d99 (patch)
tree42f7050cc5cb0e090f4e2672c94089d19dfeef3e /src/ephy-shell.c
parentc12a362e88752a1c26c79a830c12ff5a254a66c2 (diff)
downloadgsoc2013-epiphany-a43be88202d423307d4612e444e984cea45f6d99.tar
gsoc2013-epiphany-a43be88202d423307d4612e444e984cea45f6d99.tar.gz
gsoc2013-epiphany-a43be88202d423307d4612e444e984cea45f6d99.tar.bz2
gsoc2013-epiphany-a43be88202d423307d4612e444e984cea45f6d99.tar.lz
gsoc2013-epiphany-a43be88202d423307d4612e444e984cea45f6d99.tar.xz
gsoc2013-epiphany-a43be88202d423307d4612e444e984cea45f6d99.tar.zst
gsoc2013-epiphany-a43be88202d423307d4612e444e984cea45f6d99.zip
Add disable_quit, disable_new_window, first_window_fullscreen lockdown
2004-07-19 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_actions_sensitivity), (tab_detached_cb), (tab_delete_cb), (ephy_window_init): * src/window-commands.c: (window_cmd_file_new_window), (window_cmd_file_close_window): Add disable_quit, disable_new_window, first_window_fullscreen lockdown options.
Diffstat (limited to 'src/ephy-shell.c')
-rw-r--r--src/ephy-shell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index ff2a36917..1d709d9eb 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -555,6 +555,8 @@ ephy_shell_new_tab (EphyShell *shell,
if (flags & EPHY_NEW_TAB_IN_NEW_WINDOW) in_new_window = TRUE;
if (flags & EPHY_NEW_TAB_IN_EXISTING_WINDOW) in_new_window = FALSE;
+ in_new_window = in_new_window && !eel_gconf_get_boolean (CONF_LOCKDOWN_FULLSCREEN);
+
jump_to = (flags & EPHY_NEW_TAB_JUMP);
if (!in_new_window && parent_window != NULL)