[geary] Only add signature to draft once: Bug #731177
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Only add signature to draft once: Bug #731177
- Date: Tue, 10 Jun 2014 19:38:58 +0000 (UTC)
commit 2cdec72b502cae6ba02ac2e985f807cd96e34bc5
Author: Gustavo Rubio <gus ahivamos net>
Date: Tue Jun 10 12:38:34 2014 -0700
Only add signature to draft once: Bug #731177
src/client/composer/composer-widget.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/client/composer/composer-widget.vala b/src/client/composer/composer-widget.vala
index 0f5d8d3..684b255 100644
--- a/src/client/composer/composer-widget.vala
+++ b/src/client/composer/composer-widget.vala
@@ -457,8 +457,8 @@ public class ComposerWidget : Gtk.EventBox {
}
}
- // only add signature if the option is actually set
- if (account.information.use_email_signature)
+ // only add signature if the option is actually set and if this is not a draft
+ if (account.information.use_email_signature && !is_referred_draft)
add_signature();
editor = new StylishWebView();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]