Respect the view's idea of back- or foreground when opening new tabs
This commit is contained in:
parent
4103dc48ea
commit
5dcdccb27c
1 changed files with 2 additions and 1 deletions
|
@ -1101,7 +1101,8 @@ midori_view_new_tab_cb (GtkWidget* view,
|
||||||
MidoriBrowser* browser)
|
MidoriBrowser* browser)
|
||||||
{
|
{
|
||||||
gint n = midori_browser_add_uri (browser, uri);
|
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
|
static void
|
||||||
|
|
Loading…
Reference in a new issue