[Xfce4-commits] <midori:master> Measure the whole load time not just preparing speed dial markup

Christian Dywan noreply at xfce.org
Mon Aug 8 15:34:01 CEST 2011


Updating branch refs/heads/master
         to 1cdda41b59878214804cbe1c548c87d660265061 (commit)
       from 5774aa9e813f9cc0fe7b9096dddb0d1eb4d93564 (commit)

commit 1cdda41b59878214804cbe1c548c87d660265061
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Fri Aug 5 22:50:05 2011 +0200

    Measure the whole load time not just preparing speed dial markup

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

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 23d86dd..c589cd5 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -3864,6 +3864,8 @@ midori_view_set_uri (MidoriView*  view,
             katze_item_set_uri (view->item, "");
 
             data = prepare_speed_dial_html (view);
+            midori_view_load_alternate_string (view,
+                data, "res:/", "about:blank", NULL);
 
             #ifdef G_ENABLE_DEBUG
             if (g_getenv ("MIDORI_STARTTIME") != NULL)
@@ -3872,8 +3874,6 @@ midori_view_set_uri (MidoriView*  view,
                 g_timer_destroy (timer);
             }
             #endif
-            midori_view_load_alternate_string (view,
-                data, "res:/", "about:blank", NULL);
             g_free (data);
         }
         /* This is not prefectly elegant, but creating


More information about the Xfce4-commits mailing list