]> spindle.queued.net Git - midori/commitdiff
Measure the whole load time not just preparing speed dial markup
authorPaweł Forysiuk <tuxator@o2.pl>
Fri, 5 Aug 2011 20:50:05 +0000 (22:50 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 8 Aug 2011 13:26:59 +0000 (15:26 +0200)
midori/midori-view.c

index 23d86dda805e1fd381f6b8d2180e256f0b2c924c..c589cd57216605e64ff25d6c3e8275908aaba849 100644 (file)
@@ -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