From 8a715270108fbc63a3071b89aa258f53dea7190f Mon Sep 17 00:00:00 2001 From: Sankar P Date: Wed, 9 Mar 2005 11:45:50 +0000 Subject: Updated code to add priority to the appropriate header Fixes the problem 2005-03-09 Sankar P * send-options.c: (org_gnome_compose_send_options) Updated code to add priority to the appropriate header Fixes the problem of Priority not set in outgoing mails svn path=/trunk/; revision=28988 --- plugins/groupwise-send-options/ChangeLog | 6 ++++++ plugins/groupwise-send-options/send-options.c | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'plugins') diff --git a/plugins/groupwise-send-options/ChangeLog b/plugins/groupwise-send-options/ChangeLog index e8f166c727..e1a195818c 100755 --- a/plugins/groupwise-send-options/ChangeLog +++ b/plugins/groupwise-send-options/ChangeLog @@ -1,3 +1,9 @@ +2005-03-09 Sankar P + + * send-options.c: (org_gnome_compose_send_options) + Updated code to add priority to the appropriate header + Fixes the problem of Priority not set in outgoing mails + 2005-02-24 Björn Torkelsson * org-gnome-compose-send-options.eplug.in: Shortened the name of diff --git a/plugins/groupwise-send-options/send-options.c b/plugins/groupwise-send-options/send-options.c index 7e8d71d610..d57b85193b 100644 --- a/plugins/groupwise-send-options/send-options.c +++ b/plugins/groupwise-send-options/send-options.c @@ -137,6 +137,12 @@ org_gnome_compose_send_options (EPlugin *ep, EMMenuTargetWidget *t) g_free (temp) ; } + 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); + g_free (temp); + } + g_signal_connect (GTK_WIDGET (comp), "destroy", G_CALLBACK (send_options_commit), dialog); } -- cgit