[epiphany] ephy-shell: imitate other flag checks for jump_to



commit ccf3836d601c18eadab44a2f4a2f6c1b3605f304
Author: Diego Escalante Urrelo <diegoe igalia com>
Date:   Sat Apr 7 01:08:08 2012 -0500

    ephy-shell: imitate other flag checks for jump_to
    
    https://bugzilla.gnome.org/show_bug.cgi?id=676905

 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 3f124a5..cbfc169 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");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]