[Xfce4-commits] <midori:master> Use about:blank as speed dial resource root with WebKitGTK+ 1.1.14

Christian Dywan noreply at xfce.org
Wed Jan 27 23:42:01 CET 2010


Updating branch refs/heads/master
         to 3a949ac407ea6ffa4d6b72891eff479858d0ff31 (commit)
       from e2bb41b1f2d06b673a6c2fbb5df4526c7c6e35b5 (commit)

commit 3a949ac407ea6ffa4d6b72891eff479858d0ff31
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Jan 27 23:14:02 2010 +0100

    Use about:blank as speed dial resource root with WebKitGTK+ 1.1.14

 midori/midori-view.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 07213f3..4797954 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");



More information about the Xfce4-commits mailing list