[Xfce4-commits] <postler:master> Show the offending filename in content error message

Christian Dywan noreply at xfce.org
Sat Jul 10 00:24:18 CEST 2010


Updating branch refs/heads/master
         to e7eafb3ed39588fba3e6cb698d69dc7c53a1dc88 (commit)
       from f6225311cd1ec4f2bc1511dda01253a92be65a62 (commit)

commit e7eafb3ed39588fba3e6cb698d69dc7c53a1dc88
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Jul 2 21:55:55 2010 +0200

    Show the offending filename in content error message

 postler/postler-content.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 5c0b111..64b8265 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -568,10 +568,11 @@ public class Postler.Content : WebKit.WebView {
                 <body>
                 <h1>%s</h1>
                 <p>%s</p>
+                <p>%s</p>
                 </body>
                 """.
                 printf (_("Error"), _("Error"),
-                        contents_error.message),
+                        contents.get_path (), contents_error.message),
                 "text/html", "UTF-8", "about:blank");
             GLib.critical (_("Failed to read message \"%s\": %s"),
                 contents.get_path (), contents_error.message);



More information about the Xfce4-commits mailing list