From: Dale Whittaker Date: Tue, 23 Mar 2010 19:26:08 +0000 (+0100) Subject: Ignore navigation for clicks in news feeds X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8c055bdbcfdaf853edc4b3e5be798af13917aa8;p=midori Ignore navigation for clicks in news feeds --- diff --git a/extensions/feed-panel/feed-panel.c b/extensions/feed-panel/feed-panel.c index eacb56ab..6620e934 100644 --- a/extensions/feed-panel/feed-panel.c +++ b/extensions/feed-panel/feed-panel.c @@ -657,8 +657,12 @@ 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 TRUE; + + return FALSE; } static const gchar*