From: Colin Leroy Date: Sun, 12 Aug 2012 10:10:36 +0000 (+0000) Subject: 2012-08-12 [colin] 3.8.1cvs30 X-Git-Tag: REL_3_9_0~94 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=2b02f42504f10133602e883a1d5d884e770531db 2012-08-12 [colin] 3.8.1cvs30 * src/messageview.c Only show HTML parts by default (if the pref is set so) if the part disposition-type is inline or unknown, but not attachment. * src/common/ssl.c Remove useless hook that won't ever be used on windows --- diff --git a/ChangeLog b/ChangeLog index 698d9fd6d..6665e4298 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2012-08-12 [colin] 3.8.1cvs30 + + * src/messageview.c + Only show HTML parts by default (if the pref + is set so) if the part disposition-type is + inline or unknown, but not attachment. + * src/common/ssl.c + Remove useless hook that won't ever be used + on windows + 2012-08-12 [colin] 3.8.1cvs29 * src/compose.c diff --git a/PATCHSETS b/PATCHSETS index 7e627286e..bda76beb2 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -4404,3 +4404,4 @@ ( cvs diff -u -r 1.9.2.36 -r 1.9.2.37 src/gtk/sslcertwindow.c; ) > 3.8.1cvs27.patchset ( cvs diff -u -r 1.59.2.90 -r 1.59.2.91 src/prefs_filtering.c; ) > 3.8.1cvs28.patchset ( cvs diff -u -r 1.382.2.607 -r 1.382.2.608 src/compose.c; ) > 3.8.1cvs29.patchset +( cvs diff -u -r 1.94.2.235 -r 1.94.2.236 src/messageview.c; cvs diff -u -r 1.9.2.54 -r 1.9.2.55 src/common/ssl.c; ) > 3.8.1cvs30.patchset diff --git a/configure.ac b/configure.ac index b664c2984..cc824e7dd 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=8 MICRO_VERSION=1 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=29 +EXTRA_VERSION=30 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/common/ssl.c b/src/common/ssl.c index 9e8b242b7..c87ed4316 100644 --- a/src/common/ssl.c +++ b/src/common/ssl.c @@ -152,7 +152,7 @@ const gchar *claws_ssl_get_cert_dir(void) } return NULL; #else - return "put_what_s_needed_here"; + return NULL; #endif } diff --git a/src/messageview.c b/src/messageview.c index bfd8d1b36..440c9db33 100644 --- a/src/messageview.c +++ b/src/messageview.c @@ -1469,6 +1469,7 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo, goto done; } else if (mimeinfo->type == MIMETYPE_TEXT && !strcasecmp(mimeinfo->subtype, "html") && + mimeinfo->disposition == DISPOSITIONTYPE_ATTACHMENT && prefs_common.promote_html_part) { mimeview_select_mimepart_icon(messageview->mimeview, mimeinfo); goto done; @@ -1487,6 +1488,7 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo, * not to show html attachments */ continue; } + if (mimeinfo->type == MIMETYPE_TEXT && !strcasecmp(mimeinfo->subtype, "calendar") && mimeview_has_viewer_for_content_type(messageview->mimeview, @@ -1495,6 +1497,7 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo, goto done; } else if (mimeinfo->type == MIMETYPE_TEXT && !strcasecmp(mimeinfo->subtype, "html") && + mimeinfo->disposition != DISPOSITIONTYPE_ATTACHMENT && prefs_common.promote_html_part) { mimeview_select_mimepart_icon(messageview->mimeview, mimeinfo); goto done;