Ignore navigation for clicks in news feeds

This commit is contained in:
Dale Whittaker 2010-03-23 20:26:08 +01:00 committed by Christian Dywan
parent 6496dd5403
commit a8c055bdbc

View file

@ -657,8 +657,12 @@ webview_navigation_request_cb (WebKitWebView* web_view,
uri = webkit_network_request_get_uri (request); uri = webkit_network_request_get_uri (request);
n = midori_browser_add_uri (browser, uri); n = midori_browser_add_uri (browser, uri);
midori_browser_set_current_page (browser, n); midori_browser_set_current_page (browser, n);
} webkit_web_policy_decision_ignore (policy_decision);
return TRUE; return TRUE;
}
return FALSE;
} }
static const gchar* static const gchar*