From 5dcdccb27c40bee1fbd90bc3fcd9fe8ca917b2c1 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 22 Jul 2009 23:55:05 +0200 Subject: [PATCH] Respect the view's idea of back- or foreground when opening new tabs --- midori/midori-browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index a622a866..5df2aacc 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -1101,7 +1101,8 @@ midori_view_new_tab_cb (GtkWidget* view, MidoriBrowser* browser) { gint n = midori_browser_add_uri (browser, uri); - _midori_browser_set_current_page_smartly (browser, n); + if (!background) + midori_browser_set_current_page (browser, n); } static void -- 2.39.5