[Xfce4-commits] <postler:master> Put 'Source Code' and html icon in source window
Christian Dywan
noreply at xfce.org
Mon May 31 20:00:03 CEST 2010
Updating branch refs/heads/master
to 1e5bd453b8ed7d35f6fa6dc9db8462cdc696b27f (commit)
from e96335b335cd05b38d18b7a4d302eafef2b3afab (commit)
commit 1e5bd453b8ed7d35f6fa6dc9db8462cdc696b27f
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon May 31 19:39:22 2010 +0200
Put 'Source Code' and html icon in source window
postler/postler-reader.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/postler/postler-reader.vala b/postler/postler-reader.vala
index 5ff816e..deba425 100644
--- a/postler/postler-reader.vala
+++ b/postler/postler-reader.vala
@@ -76,6 +76,10 @@ public class Postler.Reader {
content.display (filenames[0]);
title = content.subject;
}
+ if (module == "source") {
+ icon_name = "text-html";
+ title = _("Source Code: %s").printf (title);
+ }
}
else if (module == "compose") {
instance = new Postler.Composer ();
More information about the Xfce4-commits
mailing list