2012-08-12 [colin] 3.8.1cvs30
authorColin Leroy <colin@colino.net>
Sun, 12 Aug 2012 10:10:36 +0000 (10:10 +0000)
committerColin Leroy <colin@colino.net>
Sun, 12 Aug 2012 10:10:36 +0000 (10:10 +0000)
* 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

ChangeLog
PATCHSETS
configure.ac
src/common/ssl.c
src/messageview.c

index 698d9fd..6665e42 100644 (file)
--- 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
index 7e62728..bda76be 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( 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
index b664c29..cc824e7 100644 (file)
@@ -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=
 
index 9e8b242..c87ed43 100644 (file)
@@ -152,7 +152,7 @@ const gchar *claws_ssl_get_cert_dir(void)
        }
        return NULL;
 #else
-       return "put_what_s_needed_here";
+       return NULL;
 #endif
 }
 
index bfd8d1b..440c9db 100644 (file)
@@ -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;