[Xfce4-commits] <postler:master> Don't spawn composer with file if there is no prefix
Christian Dywan
noreply at xfce.org
Wed Nov 17 02:52:01 CET 2010
Updating branch refs/heads/master
to 5297212a5bf4fa38c95a33376a571272c4176149 (commit)
from 30b15074bb73cd2e43bfedd7c4753126d9d360f7 (commit)
commit 5297212a5bf4fa38c95a33376a571272c4176149
Author: Christian Dywan <christian at twotoasts.de>
Date: Wed Nov 17 02:50:11 2010 +0100
Don't spawn composer with file if there is no prefix
Fixes: https://bugs.launchpad.net/postler/+bug/671734
postler/postler-bureau.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index d2e4e06..9d1ea1d 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -116,7 +116,8 @@ public class Postler.Bureau : Gtk.Window {
Postler.App.spawn_module ("compose", (recipient != null ? recipient : "")
+ (prefix != null ? "?subject=" + prefix + content.subject : "")
- + "&from=" + sender, content.last_location);
+ + "&from=" + sender,
+ prefix != null ? content.last_location : null);
}
void action_message_new () {
More information about the Xfce4-commits
mailing list