[Xfce4-commits] <postler:master> Don't implicitly insert -- into the signature
Christian Dywan
noreply at xfce.org
Sat Jan 15 00:52:01 CET 2011
Updating branch refs/heads/master
to 59e494f6ad950f3c08e4217e5563fc79d3bf2154 (commit)
from df6167d8c5b1c8103861922c510d5f688439be89 (commit)
commit 59e494f6ad950f3c08e4217e5563fc79d3bf2154
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Jan 15 00:29:14 2011 +0100
Don't implicitly insert -- into the signature
postler/postler-accountsetup.vala | 2 ++
postler/postler-content.vala | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/postler/postler-accountsetup.vala b/postler/postler-accountsetup.vala
index 586dfab..2e87ce6 100644
--- a/postler/postler-accountsetup.vala
+++ b/postler/postler-accountsetup.vala
@@ -88,6 +88,8 @@ public class Postler.AccountWidget : Gtk.VBox {
signature.buffer.text = info.signature ?? "";
signature.accepts_tab = false;
add_label_entry (_("_Signature:"), new Postler.ScrolledWindow (signature));
+ content_area.pack_start (new Gtk.Label (
+ _("Insert -- to render part of the signature gray.")), false, false, 4);
(signature.parent as Gtk.ScrolledWindow).shadow_type = Gtk.ShadowType.ETCHED_OUT;
var expander = new Gtk.Expander.with_mnemonic (_("_Advanced"));
diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 671cf42..7f14e90 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -477,9 +477,9 @@ public class Postler.Content : WebKit.WebView {
unowned string? signature = account_info.signature;
if (signature != null && top_post)
- body.prepend ("\n\n--\n" + signature + "\n");
+ body.prepend ("\n\n" + signature + "\n");
else if (signature != null)
- body.append ("\n\n--\n" + signature);
+ body.append ("\n\n" + signature);
load_string (body.str, "text/plain", "UTF-8", "about:blank");
return true;
}
More information about the Xfce4-commits
mailing list