aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-display.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e5b6a2ef32..cd37b902aa 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-09 Dan Winship <danw@helixcode.com>
+
+ * mail-display.c (on_object_requested): Support controls as well
+ as embeddables.
+
2000-08-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-view.c (mail_view_create): Changed to only take a
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;