Ignore navigation for clicks in news feeds
This commit is contained in:
parent
6496dd5403
commit
a8c055bdbc
1 changed files with 5 additions and 1 deletions
|
@ -657,10 +657,14 @@ webview_navigation_request_cb (WebKitWebView* web_view,
|
|||
uri = webkit_network_request_get_uri (request);
|
||||
n = midori_browser_add_uri (browser, uri);
|
||||
midori_browser_set_current_page (browser, n);
|
||||
}
|
||||
webkit_web_policy_decision_ignore (policy_decision);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static const gchar*
|
||||
feed_panel_get_label (MidoriViewable* viewable)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue