diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-21 18:55:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-21 19:01:29 +0800 |
commit | aaa180af5abef44bb3e3d3c3c5968ca191a3dbda (patch) | |
tree | 87354ffb9ade305c156f72c66e050deea56c3612 /mail/e-mail-reader.c | |
parent | 657a8228ccedbded35c57c08f7d1549e30dceaf0 (diff) | |
download | gsoc2013-evolution-aaa180af5abef44bb3e3d3c3c5968ca191a3dbda.tar.gz gsoc2013-evolution-aaa180af5abef44bb3e3d3c3c5968ca191a3dbda.tar.zst gsoc2013-evolution-aaa180af5abef44bb3e3d3c3c5968ca191a3dbda.zip |
Kill obsolete menu items.
URI Popup Menu -> Call To...
Message -> Post New Message to Folder
Message -> Post a Reply
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 499f8fa25a..3969f4babd 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -553,17 +553,6 @@ action_mail_message_open_cb (GtkAction *action, } static void -action_mail_message_post_cb (GtkAction *action, - EMailReader *reader) -{ - MessageList *message_list; - - message_list = e_mail_reader_get_message_list (reader); - - em_utils_post_to_folder (message_list->folder); -} - -static void action_mail_move_cb (GtkAction *action, EMailReader *reader) { @@ -786,28 +775,6 @@ action_mail_reply_list_cb (GtkAction *action, } static void -action_mail_reply_post_cb (GtkAction *action, - EMailReader *reader) -{ - MessageList *message_list; - CamelFolder *folder; - GtkWindow *window; - const gchar *uid; - - message_list = e_mail_reader_get_message_list (reader); - window = e_mail_reader_get_window (reader); - - folder = message_list->folder; - uid = message_list->cursor_uid; - g_return_if_fail (uid != NULL); - - if (!em_utils_check_user_can_send_mail (window)) - return; - - em_utils_post_reply_to_message_by_uid (folder, uid); -} - -static void action_mail_reply_sender_cb (GtkAction *action, EMailReader *reader) { @@ -1243,13 +1210,6 @@ static GtkActionEntry mail_reader_entries[] = { N_("Open the selected messages in a new window"), G_CALLBACK (action_mail_message_open_cb) }, - { "mail-message-post", - NULL, - N_("Pos_t New Message to Folder"), - NULL, - N_("Post a message to a public folder"), - G_CALLBACK (action_mail_message_post_cb) }, - { "mail-move", "mail-move", N_("_Move to Folder..."), @@ -1341,13 +1301,6 @@ static GtkActionEntry mail_reader_entries[] = { N_("Compose a reply to the mailing list of the selected message"), G_CALLBACK (action_mail_reply_list_cb) }, - { "mail-reply-post", - NULL, - N_("Post a Repl_y"), - NULL, - N_("Post a reply to a message in a public folder"), - G_CALLBACK (action_mail_reply_post_cb) }, - { "mail-reply-sender", "mail-reply-sender", N_("_Reply to Sender"), @@ -2544,11 +2497,6 @@ e_mail_reader_update_actions (EMailReader *reader) action = e_mail_reader_get_action (reader, action_name); gtk_action_set_sensitive (action, sensitive); - action_name = "mail-reply-post"; - sensitive = single_message_selected; - action = e_mail_reader_get_action (reader, action_name); - gtk_action_set_sensitive (action, sensitive); - action_name = "mail-reply-sender"; sensitive = single_message_selected; action = e_mail_reader_get_action (reader, action_name); |