aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-10-28 17:25:27 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-10-28 17:25:27 +0800
commit358fb894df070eeaa0d045b54caff44c9eff648b (patch)
tree6f8793ca4eda1fdfd32886ee77631af4c307a271 /mail/em-folder-view.c
parentf90268e273dc75f8be194a3af4ecf17d7d269e6c (diff)
downloadgsoc2013-evolution-358fb894df070eeaa0d045b54caff44c9eff648b.tar.gz
gsoc2013-evolution-358fb894df070eeaa0d045b54caff44c9eff648b.tar.zst
gsoc2013-evolution-358fb894df070eeaa0d045b54caff44c9eff648b.zip
added hook docs, and cleaned up some of the hook point names.
2004-10-28 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (real_flush_updates): * em-message-browser.c (em_message_browser_new): * em-mailer-prefs.c (em_mailer_prefs_construct): * em-format-html-display.c (efhd_attachment_popup): * em-folder-view.c (emfv_popup, emfv_list_done_message_selected) (emfv_format_popup_event): * em-folder-tree.c (emft_popup): * em-folder-properties.c (emfp_dialog_got_folder): * em-folder-browser.c (em_folder_browser_new): * em-composer-utils.c (em_utils_reply_to_message): * em-composer-prefs.c (em_composer_prefs_construct): * em-account-editor.c (em_account_editor_construct): added hook docs, and cleaned up some of the hook point names. svn path=/trunk/; revision=27749
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r--mail/em-folder-view.c32
1 files changed, 28 insertions, 4 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 282a9a24af..2349fd9d91 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -1014,7 +1014,14 @@ emfv_popup(EMFolderView *emfv, GdkEvent *event)
EMPopupTargetSelect *target;
int i;
- emp = em_popup_new("org.gnome.mail.folderview.popup.select");
+ /** @HookPoint-EMPopup: Message List Context Menu
+ * @Id: org.gnome.evolution.mail.folderview.popup.select
+ * @Type: EMPopup
+ * @Target: EMPopupTargetSelect
+ *
+ * This is the context menu shown on the message list or over a message.
+ */
+ emp = em_popup_new("org.gnome.mail.folderview.popup");
target = em_folder_view_get_popup_target(emfv, emp);
for (i=0;i<sizeof(emfv_popup_items)/sizeof(emfv_popup_items[0]);i++)
@@ -1997,8 +2004,7 @@ emfv_list_done_message_selected(CamelFolder *folder, const char *uid, CamelMimeM
return;
}
- /**
- * @Event: message.reading
+ /** @Event: message.reading
* @Title: Viewing a message
* @Target: EMEventTargetMessage
*
@@ -2210,7 +2216,25 @@ emfv_format_popup_event(EMFormatHTMLDisplay *efhd, GdkEventButton *event, const
/* FIXME: this maybe should just fit on em-html-display, it has access to the
snooped part type */
- emp = em_popup_new("org.gnome.evolution.mail.folderview.popup.uri");
+ /** @HookPoint-EMPopup: Inline URI Context Menu
+ * @Id: org.gnome.evolution.mail.folderview.popup
+ * @Class: org.gnome.evolution.mail.popup:1.0
+ * @Target: EMPopupTargetURI
+ *
+ * This is the context menu shown when clicking on inline URIs,
+ * including addresses or normal HTML links that are displayed inside
+ * the message view.
+ */
+
+ /** @HookPoint-EMPopup: Inline Object Context Menu
+ * @Id: org.gnome.evolution.mail.folderview.popup
+ * @Class: org.gnome.evolution.mail.popup:1.0
+ * @Target: EMPopupTargetPart
+ *
+ * This is the context menu shown when clicking on inline
+ * content such as a picture.
+ */
+ emp = em_popup_new("org.gnome.evolution.mail.folderview.popup");
if (part)
target = (EPopupTarget *)em_popup_target_new_part(emp, part, NULL);
else {