2009-03-10 [colin] 3.7.1cvs10
authorColin Leroy <colin@colino.net>
Tue, 10 Mar 2009 18:34:31 +0000 (18:34 +0000)
committerColin Leroy <colin@colino.net>
Tue, 10 Mar 2009 18:34:31 +0000 (18:34 +0000)
* src/messageview.c
Fix "wrong mime" message printed out multiple
times

ChangeLog
PATCHSETS
configure.ac
src/messageview.c

index 49a5f1e6f611e534500320c8e92cbfc9f9a5f26d..b0479643c7379c679b410e4b46c2c596d8289bc7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-10 [colin]     3.7.1cvs10
+
+       * src/messageview.c
+               Fix "wrong mime" message printed out multiple
+               times
+
 2009-03-10 [colin]     3.7.1cvs9
 
        * src/prefs_folder_item.c
index ff98f9ed09ed98ff4535921ea3a380b94941ff18..5ed59e6eb8a172947b881be7039f404e1a4e1f77 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.16.2.7 -r 1.16.2.8 po/ja.po;  ) > 3.7.1cvs7.patchset
 ( cvs diff -u -r 1.52.2.75 -r 1.52.2.76 src/prefs_folder_item.c;  cvs diff -u -r 1.17.2.54 -r 1.17.2.55 src/send_message.c;  ) > 3.7.1cvs8.patchset
 ( cvs diff -u -r 1.52.2.76 -r 1.52.2.77 src/prefs_folder_item.c;  ) > 3.7.1cvs9.patchset
+( cvs diff -u -r 1.94.2.202 -r 1.94.2.203 src/messageview.c;  ) > 3.7.1cvs10.patchset
index 82b01878e8ee47073c9756e8b2334154bc868c5d..035a6eded6d8950c0bbcfbf2ec6ae065e0bfbdaf 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=7
 MICRO_VERSION=1
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=9
+EXTRA_VERSION=10
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 70d033e59d8fb51c731c8d9505e6b05532861849..e79c2210ff87a0cdc7e23f557c95aa9120027b1e 100644 (file)
@@ -1294,8 +1294,7 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo,
                return_receipt_show(messageview->noticeview, 
                                    messageview->msginfo);
 
-       while ((brokeninfo = find_broken_part(mimeinfo)) != NULL) {
-               noticeview_show(messageview->noticeview);
+       if ((brokeninfo = find_broken_part(mimeinfo)) != NULL) {
                noticeview_set_icon(messageview->noticeview,
                                    STOCK_PIXMAP_NOTICE_WARN);
                if (!noticeview_is_visible(messageview->noticeview)) {
@@ -1312,7 +1311,7 @@ gint messageview_show(MessageView *messageview, MsgInfo *msginfo,
                        noticeview_set_text(messageview->noticeview, full);
                        g_free(full);
                }
-               break;
+               noticeview_show(messageview->noticeview);
        }
                        
        mimeinfo = procmime_mimeinfo_next(mimeinfo);