aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 31f8cb0a71..9da2dcd4f0 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -262,6 +262,8 @@ on_object_requested (GtkHTML *html, GtkHTMLEmbedded *eb, gpointer data)
return FALSE;
embedded = bonobo_widget_new_subdoc (component->iid, NULL);
+ if (!embedded)
+ embedded = bonobo_widget_new_control (component->iid, NULL);
CORBA_free (component);
if (!embedded)
return FALSE;