aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 731770c0c2..81724c4f43 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -275,7 +275,7 @@ composer_send_cb (EMsgComposer *composer, gpointer data)
void
-send (GtkWidget *widget, gpointer user_data)
+send_msg (GtkWidget *widget, gpointer user_data)
{
GtkWidget *composer;
@@ -312,3 +312,20 @@ reply_to_all (GtkWidget *button, gpointer user_data)
{
reply (FOLDER_BROWSER (user_data), TRUE);
}
+
+
+void
+forward_msg (GtkWidget *button, gpointer user_data)
+{
+ FolderBrowser *fb;
+ EMsgComposer *composer;
+
+ fb = FOLDER_BROWSER (user_data);
+ composer = mail_generate_forward (fb->mail_display->current_message,
+ TRUE, TRUE);
+
+ gtk_signal_connect (GTK_OBJECT (composer), "send",
+ GTK_SIGNAL_FUNC (composer_send_cb), NULL);
+
+ gtk_widget_show (GTK_WIDGET (composer));
+}