aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-10 03:58:32 +0800
committerDan Winship <danw@src.gnome.org>2000-08-10 03:58:32 +0800
commit747b818cbd6175971c494748a6b87201c80317ee (patch)
tree6679452548f21755982a0122fd46286207a3f81d
parent3d94ea9337a10ffba0475997a76b9989f29f6483 (diff)
downloadgsoc2013-evolution-747b818cbd6175971c494748a6b87201c80317ee.tar
gsoc2013-evolution-747b818cbd6175971c494748a6b87201c80317ee.tar.gz
gsoc2013-evolution-747b818cbd6175971c494748a6b87201c80317ee.tar.bz2
gsoc2013-evolution-747b818cbd6175971c494748a6b87201c80317ee.tar.lz
gsoc2013-evolution-747b818cbd6175971c494748a6b87201c80317ee.tar.xz
gsoc2013-evolution-747b818cbd6175971c494748a6b87201c80317ee.tar.zst
gsoc2013-evolution-747b818cbd6175971c494748a6b87201c80317ee.zip
Support controls as well as embeddables.
* mail-display.c (on_object_requested): Support controls as well as embeddables. svn path=/trunk/; revision=4663
-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;