From 0485fb58c5beeb04f0b3d833e6b73a2d2ec1acc7 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 31 Mar 2009 21:48:38 +0000 Subject: Extend EAttachmentView by subclassing EAttachmentHandler. So far it only supports extending the attachment pop-up menu, but I also plan to support extending drag and drop types. Might even end up replacing EMFormatHook. Two subclasses created so far: EAttachmentHandlerImage handles images (built-in) EAttachmentHandlerMail handles emails (defined in mail module) svn path=/branches/kill-bonobo/; revision=37487 --- mail/e-mail-shell-module.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/e-mail-shell-module.c') diff --git a/mail/e-mail-shell-module.c b/mail/e-mail-shell-module.c index e8f8adf4ae..9f5eafc0a5 100644 --- a/mail/e-mail-shell-module.c +++ b/mail/e-mail-shell-module.c @@ -39,6 +39,7 @@ #include "e-mail-shell-module-migrate.h" #include "e-mail-shell-module-settings.h" +#include "e-attachment-handler-mail.h" #include "e-mail-browser.h" #include "e-mail-reader.h" #include "em-account-prefs.h" @@ -886,6 +887,8 @@ e_shell_module_init (GTypeModule *type_module) mail_shell_module_init_hooks (); mail_shell_module_init_importers (); + e_attachment_handler_mail_get_type (); + /* XXX This never gets unreffed. */ mail_shell_module = g_object_ref (shell_module); -- cgit v1.2.3