aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-popup.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-10-28 05:31:19 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-10-28 05:31:19 +0800
commite2881f6524a982b61a5915f31b5d68aaad306e9b (patch)
tree422812d6ab41e20e170216c9a8f9470f40f47306 /mail/em-popup.c
parent779d9a48b878fc6ab885247ba6843243e8183f57 (diff)
downloadgsoc2013-evolution-e2881f6524a982b61a5915f31b5d68aaad306e9b.tar
gsoc2013-evolution-e2881f6524a982b61a5915f31b5d68aaad306e9b.tar.gz
gsoc2013-evolution-e2881f6524a982b61a5915f31b5d68aaad306e9b.tar.bz2
gsoc2013-evolution-e2881f6524a982b61a5915f31b5d68aaad306e9b.tar.lz
gsoc2013-evolution-e2881f6524a982b61a5915f31b5d68aaad306e9b.tar.xz
gsoc2013-evolution-e2881f6524a982b61a5915f31b5d68aaad306e9b.tar.zst
gsoc2013-evolution-e2881f6524a982b61a5915f31b5d68aaad306e9b.zip
Fixes bug #49816
2003-10-27 Jeffrey Stedfast <fejj@ximian.com> * Fixes bug #49816 * em-popup.c (emp_part_popup_reply_sender): No need to pass a parent window arg anymore. (emp_part_popup_reply_list): Same. (emp_part_popup_reply_all): Here too. (emp_part_popup_forward): Same. (emp_uri_popup_address_send): Here too. * em-folder-browser.c (emfb_mail_compose): No need to pass a parent window arg anymore. (emfb_mail_post): Same. * em-folder-view.c (emfv_message_reply): Don't pass a parent window argument anymore. (emfv_popup_forward): Same. (emfv_popup_resend): Same here. (em_folder_view_open_selected): Same. (emfv_message_forward_attached): Here too. (emfv_message_forward_inline): And here. (emfv_message_forward_quoted): Same. (emfv_message_redirect): Here too. (emfv_message_post_reply): And here. (emfv_format_link_clicked): ANd finally here. * em-utils.c (create_new_composer): Don't set_transient_for() anymore. (em_utils_compose_new_message): No longer takes a parent window argument. (em_utils_forward_attached): No longer takes a parent window arg. (em_utils_forward_inline): Same. (em_utils_forward_quoted): Same. (em_utils_forward_message): Same. (em_utils_forward_messages): Here too. (redirect_get_composer): Don't set_transient_for() here either. (em_utils_redirect_message): No longer takes a parent window arg. (em_utils_redirect_message_by_uid): Same. (reply_get_composer): Don't set_transient_for() here. (em_utils_reply_to_message): No longer takes a parent window arg. (em_utils_reply_to_message_by_uid): Same. (post_reply_to_message): Don't set_transient_for() here. (em_utils_post_reply_to_message_by_uid): No longer takes a parent window arg. (em_utils_compose_new_message_with_mailto): Don't set_transient_for() here. (em_utils_post_to_url): Same. (em_utils_edit_message): No longer takes a parent window arg. (em_utils_edit_messages): Same. svn path=/trunk/; revision=23092
Diffstat (limited to 'mail/em-popup.c')
-rw-r--r--mail/em-popup.c39
1 files changed, 22 insertions, 17 deletions
diff --git a/mail/em-popup.c b/mail/em-popup.c
index 74ba86c33b..63159848bf 100644
--- a/mail/em-popup.c
+++ b/mail/em-popup.c
@@ -601,34 +601,39 @@ emp_part_popup_set_background(GtkWidget *w, EMPopupTarget *t)
}
static void
-emp_part_popup_reply_sender(GtkWidget *w, EMPopupTarget *t)
+emp_part_popup_reply_sender (GtkWidget *w, EMPopupTarget *t)
{
- em_utils_reply_to_message(t->widget,
- (CamelMimeMessage *)camel_medium_get_content_object((CamelMedium *)t->data.part.part),
- REPLY_MODE_SENDER);
+ CamelMimeMessage *message;
+
+ message = (CamelMimeMessage *) camel_medium_get_content_object ((CamelMedium *) t->data.part.part);
+ em_utils_reply_to_message (message, REPLY_MODE_SENDER);
}
static void
-emp_part_popup_reply_list(GtkWidget *w, EMPopupTarget *t)
+emp_part_popup_reply_list (GtkWidget *w, EMPopupTarget *t)
{
- em_utils_reply_to_message(t->widget,
- (CamelMimeMessage *)camel_medium_get_content_object((CamelMedium *)t->data.part.part),
- REPLY_MODE_LIST);
+ CamelMimeMessage *message;
+
+ message = (CamelMimeMessage *) camel_medium_get_content_object ((CamelMedium *) t->data.part.part);
+ em_utils_reply_to_message (message, REPLY_MODE_LIST);
}
static void
-emp_part_popup_reply_all(GtkWidget *w, EMPopupTarget *t)
+emp_part_popup_reply_all (GtkWidget *w, EMPopupTarget *t)
{
- em_utils_reply_to_message(t->widget,
- (CamelMimeMessage *)camel_medium_get_content_object((CamelMedium *)t->data.part.part),
- REPLY_MODE_ALL);
+ CamelMimeMessage *message;
+
+ message = (CamelMimeMessage *) camel_medium_get_content_object ((CamelMedium *) t->data.part.part);
+ em_utils_reply_to_message (message, REPLY_MODE_ALL);
}
static void
-emp_part_popup_forward(GtkWidget *w, EMPopupTarget *t)
+emp_part_popup_forward (GtkWidget *w, EMPopupTarget *t)
{
- em_utils_forward_message(t->widget,
- (CamelMimeMessage *)camel_medium_get_content_object((CamelMedium *)t->data.part.part));
+ CamelMimeMessage *message;
+
+ message = (CamelMimeMessage *) camel_medium_get_content_object ((CamelMedium *) t->data.part.part);
+ em_utils_forward_message (message);
}
static EMPopupItem emp_standard_object_popups[] = {
@@ -660,9 +665,9 @@ emp_uri_popup_link_open(GtkWidget *w, EMPopupTarget *t)
}
static void
-emp_uri_popup_address_send(GtkWidget *w, EMPopupTarget *t)
+emp_uri_popup_address_send (GtkWidget *w, EMPopupTarget *t)
{
- em_utils_compose_new_message_with_mailto(t->widget, t->data.uri);
+ em_utils_compose_new_message_with_mailto (t->data.uri);
}
static void