aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
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 /mail/mail-display.c
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
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;