[Xfce4-commits] <midori:master> Always unset delay on about: pages

Christian Dywan noreply at xfce.org
Sun Dec 18 02:16:01 CET 2011


Updating branch refs/heads/master
         to 34c7d601c60d21c7f68e76ae9d219e6a970d04fb (commit)
       from a87b4cd7d821f88567795580b71e694e9873291c (commit)

commit 34c7d601c60d21c7f68e76ae9d219e6a970d04fb
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Dec 18 02:12:36 2011 +0100

    Always unset delay on about: pages
    
    These pages are not affected by delay but going to
    a different page will honor the still set delay.

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

diff --git a/midori/midori-view.c b/midori/midori-view.c
index a71ffdb..022f92d 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -3849,6 +3849,7 @@ midori_view_set_uri (MidoriView*  view,
 
             katze_assign (view->uri, NULL);
             katze_assign (view->mime_type, g_strdup ("text/html"));
+            katze_item_set_meta_integer (view->item, "delay", -1);
 
             if (speeddial_markup == NULL)
                 speeddial_markup = prepare_speed_dial_html (view, TRUE);
@@ -4007,6 +4008,7 @@ midori_view_set_uri (MidoriView*  view,
             webkit_web_view_load_html_string (
                 WEBKIT_WEB_VIEW (view->web_view), data, view->uri);
             g_free (data);
+            katze_item_set_meta_integer (view->item, "delay", -1);
             if (g_strcmp0 (view->item->uri, view->uri))
                 katze_item_set_uri (view->item, view->uri);
             g_object_notify (G_OBJECT (view), "uri");


More information about the Xfce4-commits mailing list