]> spindle.queued.net Git - midori/commitdiff
Mention the MIME type of a document that cannot be displayed.
authorChristian Dywan <christian@twotoasts.de>
Sun, 1 Mar 2009 19:21:35 +0000 (20:21 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 1 Mar 2009 19:21:35 +0000 (20:21 +0100)
midori/midori-view.c

index 5330122a1a73c8352ed20575b3f39725e909611b..a4d6d83037e8951f25af6af2065a684c7d63a0d5 100644 (file)
@@ -1691,9 +1691,9 @@ midori_view_set_uri (MidoriView*  view,
                     "<body><h1>%s</h1>"
                     "<img src=\"file://" DATADIR "/midori/logo-shade.png\" "
                     "style=\"position: absolute; right: 15px; bottom: 15px;\">"
-                    "<p />The document %s cannot be displayed."
+                    "<p />The document %s of type %s cannot be displayed."
                     "</body></html>",
-                    title, title, view->uri);
+                    title, title, view->uri, view->mime_type);
                 g_free (title);
             }
             else if (!strncmp (uri, "error:nodocs ", 13))