* src/textview.c
authorChristoph Hohmann <reboot@gmx.ch>
Fri, 18 Oct 2002 10:40:25 +0000 (10:40 +0000)
committerChristoph Hohmann <reboot@gmx.ch>
Fri, 18 Oct 2002 10:40:25 +0000 (10:40 +0000)
        don't add a newline in the textview in front of the
        first textpart if header display is disabled
        (closes bug [ 603385 ] disabled header display leaves blank
         lin)

ChangeLog.claws
configure.in
src/messageview.c
src/textview.c

index c8c834169ecccff996989a9e4a553d5caa90e245..35759d2fef070450e94b904c92c8e8aefe242a5f 100644 (file)
@@ -1,3 +1,11 @@
+2002-10-18 [christoph] 0.8.5claws44
+
+       * src/textview.c
+               don't add a newline in the textview in front of the
+               first textpart if header display is disabled
+               (closes bug [ 603385 ] disabled header display leaves blank
+                lin)
+
 2002-10-18 [christoph] 0.8.5claws43
 
        * src/folder.[ch]
 2002-10-18 [christoph] 0.8.5claws43
 
        * src/folder.[ch]
index 36f9ceabac01cc9c8b4a8f3b169a950d414e5fd4..ff76bd057446566f5ebff58d3184a913b80df80d 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
 MICRO_VERSION=5
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws43
+EXTRA_VERSION=claws44
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 1d299a48979cd413a57f07e82d465dc25ca7611e..2cd6fda1f1f6124c85a75616b72622bce26915be 100644 (file)
@@ -283,7 +283,7 @@ static gint disposition_notification_queue(PrefsAccount * account,
        return 0;
 }
 
        return 0;
 }
 
-static gint disposition_notification_send(MsgInfo      *msginfo)
+static gint disposition_notification_send(MsgInfo *msginfo)
 {
        gchar buf[BUFFSIZE];
        gchar tmp[MAXPATHLEN + 1];
 {
        gchar buf[BUFFSIZE];
        gchar tmp[MAXPATHLEN + 1];
index 4a7fa8568de83fad69008f56109a2532b9cda09f..07c38167d8579f743c4e59546eba98a1e555de5f 100644 (file)
@@ -528,7 +528,7 @@ static void textview_add_part(TextView *textview, MimeInfo *mimeinfo, FILE *fp)
                    mimeinfo->parent &&
                    mimeinfo->parent->children != mimeinfo)
                        gtk_stext_insert(text, NULL, NULL, NULL, buf, -1);
                    mimeinfo->parent &&
                    mimeinfo->parent->children != mimeinfo)
                        gtk_stext_insert(text, NULL, NULL, NULL, buf, -1);
-               else
+               else if (prefs_common.display_header)
                        gtk_stext_insert(text, NULL, NULL, NULL, "\n", 1);
                if (prefs_common.force_charset)
                        charset = prefs_common.force_charset;
                        gtk_stext_insert(text, NULL, NULL, NULL, "\n", 1);
                if (prefs_common.force_charset)
                        charset = prefs_common.force_charset;
@@ -1343,7 +1343,6 @@ static GPtrArray *textview_scan_header(TextView *textview, FILE *fp)
        } else
                procheader_header_array_destroy(headers);
 
        } else
                procheader_header_array_destroy(headers);
 
-
        return sorted_headers;
 }
 
        return sorted_headers;
 }