diff options
author | Dan Winship <danw@src.gnome.org> | 2000-04-24 01:15:07 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-04-24 01:15:07 +0800 |
commit | 4c1c537e19a6397fc4b3418e5db6eea4239ab741 (patch) | |
tree | 3402e5a878062bb5e81970729c9acc94013bc1eb /mail/mail-ops.c | |
parent | b33db409a60f49c61d035f7d3cc2e1232ec8a186 (diff) | |
download | gsoc2013-evolution-4c1c537e19a6397fc4b3418e5db6eea4239ab741.tar.gz gsoc2013-evolution-4c1c537e19a6397fc4b3418e5db6eea4239ab741.tar.zst gsoc2013-evolution-4c1c537e19a6397fc4b3418e5db6eea4239ab741.zip |
rename "send" to "send_msg", to avoid name clash with the tcp function.
* folder-browser-factory.c: rename "send" to "send_msg", to avoid
name clash with the tcp function. Connect the "forward" button.
* mail-ops.c: rename "send" to "send_msg", to avoid name clash
with the tcp function. Add forward_msg function.
* mail-format.c (mail_generate_forward): support function for
forward_msg. Pretty much a big kludge right now, pending the
attachment/attachment-bar changes.
svn path=/trunk/; revision=2562
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 19 |
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)); +} |