From: Christian Dywan Date: Wed, 22 Jul 2009 21:55:05 +0000 (+0200) Subject: Respect the view's idea of back- or foreground when opening new tabs X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dcdccb27c40bee1fbd90bc3fcd9fe8ca917b2c1;p=midori Respect the view's idea of back- or foreground when opening new tabs --- 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