]> spindle.queued.net Git - midori/commitdiff
Fallback to URI for delayed page if there's no title
authorChristian Dywan <christian@twotoasts.de>
Thu, 28 Jul 2011 20:58:16 +0000 (22:58 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 28 Jul 2011 20:58:16 +0000 (22:58 +0200)
midori/midori-view.c

index 39489ae04feffe03b270486e835840e617c4ebf2..6cf0e9242bd1ddd64e0af3843d15d89261e206af 100644 (file)
@@ -3899,7 +3899,7 @@ midori_view_set_uri (MidoriView*  view,
         {
             katze_assign (view->uri, g_strdup (&uri[6]));
             midori_view_display_error (
-                view, view->uri, view->title,
+                view, view->uri, view->title ? view->title : view->uri,
                 _("Page loading delayed"),
                 _("Loading delayed either due to a recent crash or startup preferences."),
                 _("Load Page"),