Focus search bar tab according to background option
Fixes: https://bugs.launchpad.net/midori/+bug/777510
This commit is contained in:
parent
c7c172f7ff
commit
410eabea40
1 changed files with 4 additions and 1 deletions
|
@ -3891,7 +3891,10 @@ _action_search_submit (GtkAction* action,
|
||||||
search = midori_uri_for_search (url, keywords);
|
search = midori_uri_for_search (url, keywords);
|
||||||
|
|
||||||
if (new_tab)
|
if (new_tab)
|
||||||
midori_browser_add_uri (browser, search);
|
{
|
||||||
|
int n = midori_browser_add_uri (browser, search);
|
||||||
|
midori_browser_set_current_page_smartly (browser, n);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
midori_browser_set_current_uri (browser, search);
|
midori_browser_set_current_uri (browser, search);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue