From 3a949ac407ea6ffa4d6b72891eff479858d0ff31 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 27 Jan 2010 23:14:02 +0100 Subject: [PATCH] Use about:blank as speed dial resource root with WebKitGTK+ 1.1.14 --- midori/midori-view.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/midori/midori-view.c b/midori/midori-view.c index 07213f39..47979547 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -3159,7 +3159,11 @@ midori_view_set_uri (MidoriView* view, "{are_you_sure}", _("Are you sure you want to delete this shortcut?"), NULL); - #if WEBKIT_CHECK_VERSION (1, 1, 6) + #if WEBKIT_CHECK_VERSION (1, 1, 14) + webkit_web_frame_load_alternate_string ( + webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (view->web_view)), + data, "about:blank", "about:blank"); + #elif WEBKIT_CHECK_VERSION (1, 1, 6) webkit_web_frame_load_alternate_string ( webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW (view->web_view)), data, res_root, "about:blank"); -- 2.39.5