From 747b818cbd6175971c494748a6b87201c80317ee Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 9 Aug 2000 19:58:32 +0000 Subject: Support controls as well as embeddables. * mail-display.c (on_object_requested): Support controls as well as embeddables. svn path=/trunk/; revision=4663 --- mail/ChangeLog | 5 +++++ mail/mail-display.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'mail') 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 + + * mail-display.c (on_object_requested): Support controls as well + as embeddables. + 2000-08-09 Jeffrey Stedfast * 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; -- cgit v1.2.3