diff options
author | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-04-07 14:08:08 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@igalia.com> | 2012-06-15 07:16:09 +0800 |
commit | ccf3836d601c18eadab44a2f4a2f6c1b3605f304 (patch) | |
tree | 348e69b48353e531db9f50e907127f77944450a9 | |
parent | e32345ae0752c2b292b7ce84c342700339fd0d25 (diff) | |
download | gsoc2013-epiphany-ccf3836d601c18eadab44a2f4a2f6c1b3605f304.tar.gz gsoc2013-epiphany-ccf3836d601c18eadab44a2f4a2f6c1b3605f304.tar.zst gsoc2013-epiphany-ccf3836d601c18eadab44a2f4a2f6c1b3605f304.zip |
ephy-shell: imitate other flag checks for jump_to
https://bugzilla.gnome.org/show_bug.cgi?id=676905
-rw-r--r-- | src/ephy-shell.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 3f124a5d6..cbfc169cc 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -691,14 +691,13 @@ ephy_shell_new_tab_full (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; if (flags & EPHY_NEW_TAB_DONT_COPY_HISTORY) copy_history = FALSE; + if (flags & EPHY_NEW_TAB_JUMP) jump_to = TRUE; fullscreen_lockdown = g_settings_get_boolean (EPHY_SETTINGS_LOCKDOWN, EPHY_PREFS_LOCKDOWN_FULLSCREEN); in_new_window = in_new_window && !fullscreen_lockdown; g_return_val_if_fail (open_page == (gboolean)(request != NULL), NULL); - jump_to = (flags & EPHY_NEW_TAB_JUMP) != 0; - LOG ("Opening new tab parent-window %p parent-embed %p in-new-window:%s jump-to:%s", parent_window, previous_embed, in_new_window ? "t" : "f", jump_to ? "t" : "f"); |