diff options
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r-- | mail/mail-display.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c index 83387bde92..9ac15b4672 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -1081,6 +1081,11 @@ do_external_viewer (GtkHTML *html, GtkHTMLEmbedded *eb, CORBA_Environment ev; CamelStreamMem *cstream; BonoboStream *bstream; + MailMimeHandler *handler; + + handler = mail_lookup_handler (eb->type); + if (!handler || !handler->is_bonobo) + return FALSE; component = gnome_vfs_mime_get_default_component (eb->type); if (!component) |