aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2006-07-17 19:35:44 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2006-07-17 19:35:44 +0800
commita474f3b1b6a754c35e28ec919cbda72b82386f28 (patch)
tree7805bcacfbe00ffb3707c0eb3568bbc57990b266 /plugins
parent17a2e89e3b6378b76586c61a0d47889c5d0cccf3 (diff)
downloadgsoc2013-evolution-a474f3b1b6a754c35e28ec919cbda72b82386f28.tar.gz
gsoc2013-evolution-a474f3b1b6a754c35e28ec919cbda72b82386f28.tar.zst
gsoc2013-evolution-a474f3b1b6a754c35e28ec919cbda72b82386f28.zip
Evolution side coding for implementing security-classification send-options for GroupWise
svn path=/trunk/; revision=32329
Diffstat (limited to 'plugins')
-rw-r--r--plugins/groupwise-features/ChangeLog6
-rw-r--r--plugins/groupwise-features/mail-send-options.c8
-rw-r--r--plugins/groupwise-features/mail-send-options.h1
3 files changed, 14 insertions, 1 deletions
diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog
index 752ced4961..c83b63ccdd 100644
--- a/plugins/groupwise-features/ChangeLog
+++ b/plugins/groupwise-features/ChangeLog
@@ -1,5 +1,11 @@
2006-07-17 Sankar P <psankar@novell.com>
+ * mail-send-options.c: (feed_input_data)
+ * mail-send-options.h:
+ Added support for X_SEND_OPT_SECURITY
+
+2006-07-17 Sankar P <psankar@novell.com>
+
* Added support for GroupWise Message Retract
* Files added: mail-retract.c, org-gnome-mail-retract-errors.xml
* Files modified: org-gnome-groupwise-features.eplug.xml, Makefile.am
diff --git a/plugins/groupwise-features/mail-send-options.c b/plugins/groupwise-features/mail-send-options.c
index 48a7b026c1..0bd494bcd9 100644
--- a/plugins/groupwise-features/mail-send-options.c
+++ b/plugins/groupwise-features/mail-send-options.c
@@ -112,7 +112,13 @@ feed_input_data(ESendOptionsDialog * dialog, gint state, gpointer data)
if (dialog->data->gopts->priority) {
temp = g_strdup_printf ("%d",dialog->data->gopts->priority);
- e_msg_composer_add_header (comp, X_SEND_OPT_PRIORITY,temp);
+ e_msg_composer_add_header (comp, X_SEND_OPT_PRIORITY, temp);
+ g_free (temp);
+ }
+
+ if (dialog->data->gopts->security) {
+ temp = g_strdup_printf ("%d",dialog->data->gopts->security);
+ e_msg_composer_add_header (comp, X_SEND_OPT_SECURITY, temp);
g_free (temp);
}
}
diff --git a/plugins/groupwise-features/mail-send-options.h b/plugins/groupwise-features/mail-send-options.h
index 0e6ef03ec5..1e3efc256e 100644
--- a/plugins/groupwise-features/mail-send-options.h
+++ b/plugins/groupwise-features/mail-send-options.h
@@ -26,6 +26,7 @@
#define X_SEND_OPTIONS "X-gw-send-options"
/*General Options*/
#define X_SEND_OPT_PRIORITY "X-gw-send-opt-priority"
+#define X_SEND_OPT_SECURITY "X-gw-send-opt-security"
#define X_REPLY_CONVENIENT "X-reply-convenient"
#define X_REPLY_WITHIN "X-reply-within"
#define X_EXPIRE_AFTER "X-expire-after"