aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-09 06:57:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-09 06:57:34 +0800
commit18df0dfdf27495931b1aed2e8f88942d44eedc7e (patch)
tree69fb538eb670604a20414bba903f0f9caa85e39a /mail/mail-display.c
parent56f97fa4b440719e412b9e56e833f88b0e130d05 (diff)
downloadgsoc2013-evolution-18df0dfdf27495931b1aed2e8f88942d44eedc7e.tar.gz
gsoc2013-evolution-18df0dfdf27495931b1aed2e8f88942d44eedc7e.tar.zst
gsoc2013-evolution-18df0dfdf27495931b1aed2e8f88942d44eedc7e.zip
Cast the CamelMedium to a CamelMimePart before performing actions on it as
2001-02-08 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_object_requested): Cast the CamelMedium to a CamelMimePart before performing actions on it as if it were a CamelMimePart. * mail-config-druid.c (druid_finish): Save the auto-check settings. (construct): Initialize auto-check widgets. (mail_config_druid_get_auto_check): New function (mail_config_druid_get_auto_check_minutes): New functions * mail-config.c (config_read): Read in whether or not to check every x minutes. (mail_config_write): Save auto-check config data and SSL. svn path=/trunk/; revision=8126
Diffstat (limited to 'mail/mail-display.c')
-rw-r--r--mail/mail-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 404dc9f3ed..9f599bc797 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -696,7 +696,7 @@ on_object_requested (GtkHTML *html, GtkHTMLEmbedded *eb, gpointer data)
hbox = gtk_hbox_new (FALSE, 2);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 2);
- if (mail_part_is_inline (medium)) {
+ if (mail_part_is_inline (CAMEL_MIME_PART (medium))) {
arrow = gnome_stock_new_with_icon (GNOME_STOCK_PIXMAP_DOWN);
} else {
arrow = gnome_stock_new_with_icon (GNOME_STOCK_PIXMAP_FORWARD);