From 70127d9cb8adbe948a34539eb8a9d330f293764e Mon Sep 17 00:00:00 2001
From: Bharath Acharya <abharath@novell.com>
Date: Tue, 14 Sep 2010 10:04:30 +0530
Subject: Bug #624321 - Reply requested today does not work.
Do not check for the "reply_within" if it is not the "convenient" option.
0 can be an option too.
---
plugins/groupwise-features/mail-send-options.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'plugins/groupwise-features/mail-send-options.c')
diff --git a/plugins/groupwise-features/mail-send-options.c b/plugins/groupwise-features/mail-send-options.c
index 8b59946330..7c31b6e585 100644
--- a/plugins/groupwise-features/mail-send-options.c
+++ b/plugins/groupwise-features/mail-send-options.c
@@ -71,7 +71,7 @@ feed_input_data (ESendOptionsDialog * dialog, gint state, gpointer data)
if (dialog->data->gopts->reply_enabled) {
if (dialog->data->gopts->reply_convenient)
e_msg_composer_add_header (comp, X_REPLY_CONVENIENT ,"1" );
- else if (dialog->data->gopts->reply_within) {
+ else {
time_t t;
t = add_day_to_time (time (NULL), dialog->data->gopts->reply_within);
strftime (value, 17, "%Y%m%dT%H%M%SZ", gmtime (&t));
--
cgit