aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-07-10 00:37:04 +0800
committerDan Winship <danw@src.gnome.org>2001-07-10 00:37:04 +0800
commita9c8e8d5946c6c39c4d07b96ed04a414e67bd9cb (patch)
tree534a4d807849cde75857ba095446b695a7a61fbb /mail/mail.h
parent08879c382da0f592c9521ade17ccb2f0f8d9597d (diff)
downloadgsoc2013-evolution-a9c8e8d5946c6c39c4d07b96ed04a414e67bd9cb.tar
gsoc2013-evolution-a9c8e8d5946c6c39c4d07b96ed04a414e67bd9cb.tar.gz
gsoc2013-evolution-a9c8e8d5946c6c39c4d07b96ed04a414e67bd9cb.tar.bz2
gsoc2013-evolution-a9c8e8d5946c6c39c4d07b96ed04a414e67bd9cb.tar.lz
gsoc2013-evolution-a9c8e8d5946c6c39c4d07b96ed04a414e67bd9cb.tar.xz
gsoc2013-evolution-a9c8e8d5946c6c39c4d07b96ed04a414e67bd9cb.tar.zst
gsoc2013-evolution-a9c8e8d5946c6c39c4d07b96ed04a414e67bd9cb.zip
Use gnome_vfs_mime_get_short_list_applications rather than
* mail-format.c (mail_lookup_handler): Use gnome_vfs_mime_get_short_list_applications rather than gnome_vfs_mime_get_default_application. * mail-display.c (pixmap_press): Construct the EPopupMenu array on the fly, based on the number of applications available to open the MIME type. (launch_cb): Figure out which menu item was clicked, and invoke the appropriate application. Ugh, messy, because of the EPopupMenu interface. Probably should get rewritten some day. Also, make this handle apps with expects_uris set too. svn path=/trunk/; revision=10916
Diffstat (limited to 'mail/mail.h')
-rw-r--r--mail/mail.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail.h b/mail/mail.h
index 18108c7293..f9bcdc7d79 100644
--- a/mail/mail.h
+++ b/mail/mail.h
@@ -48,7 +48,7 @@ typedef gboolean (*MailMimeHandlerFn) (CamelMimePart *part,
typedef struct {
gboolean generic;
OAF_ServerInfo *component;
- GnomeVFSMimeApplication *application;
+ GList *applications;
MailMimeHandlerFn builtin;
} MailMimeHandler;
MailMimeHandler *mail_lookup_handler (const char *mime_type);