1. Popup menus

The mail popup menu class is org.gnome.evolution.mail.popup:1.0.

The plugin callback data will be the target matching the plugin menu itself, and the callback returns no value.

1.1. Folder Tree Context Menu

This is the context menu shown on the folder tree.

Idorg.gnome.evolution.mail.foldertree.popup
Classorg.gnome.evolution.mail.popup:1.0
TargetEMPopupTargetFolder
Definedmail/em-folder-tree.c:2816

1.2. Message List Context Menu

This is the context menu shown on the message list or over a message.

Idorg.gnome.evolution.mail.folderview.popup.select
TypeEMPopup
TargetEMPopupTargetSelect
Definedmail/em-folder-view.c:1022

1.3. Inline URI Context Menu

This is the context menu shown when clicking on inline URIs, including addresses or normal HTML links that are displayed inside the message view.

Idorg.gnome.evolution.mail.folderview.popup
Classorg.gnome.evolution.mail.popup:1.0
TargetEMPopupTargetURI
Definedmail/em-folder-view.c:2226

1.4. Inline Object Context Menu

This is the context menu shown when clicking on inline content such as a picture.

Idorg.gnome.evolution.mail.folderview.popup
Classorg.gnome.evolution.mail.popup:1.0
TargetEMPopupTargetPart
Definedmail/em-folder-view.c:2235

1.5. Attachment Button Context Menu

This is the drop-down menu shown when a user clicks on the down arrow of the attachment button in inline mail content.

Idorg.gnome.evolution.mail.formathtmldisplay.popup
Classorg.gnome.evolution.mail.popup:1.0
TargetEMPopupTargetPart
Definedmail/em-format-html-display.c:1099

1.6. Composer Attachment Bar Context Menu

This is the context menu on the composer attachment bar.

Idorg.gnome.evolution.mail.composer.attachmentbar.popup
Classorg.gnome.evolution.mail.popup:1.0
TargetEMPopupTargetAttachments
Definedmail/../composer/e-msg-composer-attachment-bar.c:517

1.7. Internal popup menus

The following popup menus are defined, but they are used with no target, and so provide no useful context if they were to be hooked onto.

com.ximian.mail.messagelist.popup.drop is used for the ASK drop type on the message list.

com.ximian.mail.storageset.popup.drop is used for the ASK drop type on the folder tree.

1.8. Mail Popup Targets

Not sure if this needs to explain the qualifier meanings, or leave it to the in-line comment stuff in the enumeration definition. Maybe it just needs a direct link to the enumeration.

1.8.1. Folder Target

This target is used to define actions on a folder context. Normally associated with the folder tree.

Namefolder
StructureEMPopupTargetFolder
Qualifiers
folder = EM_POPUP_FOLDER_FOLDER
store = EM_POPUP_FOLDER_STORE
inferiors = EM_POPUP_FOLDER_INFERIORS
delete = EM_POPUP_FOLDER_DELETE
select = EM_POPUP_FOLDER_SELECT

1.8.2. Selection Target

This target is used to define context for actions associated with a selection of mail messages from a specific folder.

Nameselect
StructureEMPopupTargetSelect
Qualifiers
one = EM_POPUP_SELECT_ONE
many = EM_POPUP_SELECT_MANY
mark_read = EM_POPUP_SELECT_MARK_READ
mark_unread = EM_POPUP_SELECT_MARK_UNREAD
delete = EM_POPUP_SELECT_DELETE
undelete = EM_POPUP_SELECT_UNDELETE
mailing_list = EM_POPUP_SELECT_MAILING_LIST
resend = EM_POPUP_SELECT_EDIT
mark_important = EM_POPUP_SELECT_MARK_IMPORTANT
mark_unimportant = EM_POPUP_SELECT_MARK_UNIMPORTANT
flag_followup = EM_POPUP_SELECT_FLAG_FOLLOWUP
flag_completed = EM_POPUP_SELECT_FLAG_COMPLETED
flag_clear = EM_POPUP_SELECT_FLAG_CLEAR
add_sender = EM_POPUP_SELECT_ADD_SENDER
mark_junk = EM_POPUP_SELECT_MARK_JUNK
mark_nojunk = EM_POPUP_SELECT_MARK_NOJUNK
folder = EM_POPUP_SELECT_FOLDER

1.8.3. URI Target

This target defines context for operations on a URI, normally displayed inline somewhere in the message view.

Nameuri
StructureEMPopupTargetURI
Qualifiers
http = EM_POPUP_URI_HTTP
mailto = EM_POPUP_URI_MAILTO
notmailto = EM_POPUP_URI_NOT_MAILTO

1.8.4. Message Part Target

This target defines context for operations on messages, or individual message parts. The same target is used for inline images or other content which can be encapsulated in a MIME part (i.e. anything).

Namepart
StructureEMPopupTargetPart
Qualifiers
message = EM_POPUP_PART_MESSAGE
image = EM_POPUP_PART_IMAGE

1.8.5. Attachments Target

This target is used to define context for operations on the mail composer attachment bar.

Nameattachments
StructureEMPopupTargetAttachments
Qualifiers
one = EM_POPUP_ATTACHMENTS_ONE
many = EM_POPUP_ATTACHMENTS_MANY