Package: claws-mail
Version: 3.0.2-1
Severity: normal
Tags: patch

When the initial message body is set via an URI, it usually is already
formatted by the application generating the URI. This format should not be
overriden by default, even if the user has autowrap on as a general option.

This patch leaves the message format untouched. If the user later edits parts
of the message, those parts are reformatted, as one would expect.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-lauren2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages claws-mail depends on:
ii  libaspell15             0.60.5-1         GNU Aspell spell-checker runtime l
ii  libc6                   2.6.1-6          GNU C Library: Shared libraries
ii  libcompfaceg1           1:1.5.2-4        Compress/decompress images for mai
ii  libetpan11              0.52-1           mail handling library
ii  libglib2.0-0            2.14.2-1         The GLib library of C routines
ii  libgnomeprint2.2-0      2.18.2-1         The GNOME 2.2 print architecture -
ii  libgnomeprintui2.2-0    2.18.1-1         GNOME 2.2 print architecture User 
ii  libgtk2.0-0             2.12.1-1         The GTK+ graphical user interface 
ii  libice6                 2:1.0.4-1        X11 Inter-Client Exchange library
ii  libldap2                2.1.30.dfsg-13.5 OpenLDAP libraries
ii  libpango1.0-0           1.18.3-1         Layout and rendering of internatio
ii  libpisock9              0.12.2-10        library for communicating with a P
ii  libsm6                  2:1.0.3-1+b1     X11 Session Management library
ii  libssl0.9.8             0.9.8g-1         SSL shared libraries

Versions of packages claws-mail recommends:
ii  aspell-de [aspell-dictionary] 20070829-3 German dictionary for aspell
ii  aspell-en [aspell-dictionary] 6.0-0-5.1  English dictionary for GNU Aspell
ii  aspell-es [aspell-dictionary] 1.9-12     Spanish dictionary for aspell
ii  claws-mail-i18n               3.0.2-1    Locale data for Claws Mail (i18n s
ii  xfonts-100dpi                 1:1.0.0-4  100 dpi fonts for X
ii  xfonts-75dpi                  1:1.0.0-4  75 dpi fonts for X

-- no debconf information

--- claws-mail-3.0.2-orig/src/compose.c 2007-11-01 03:27:03.000000000 -0300
+++ claws-mail-3.0.2/src/compose.c      2007-11-01 23:52:17.000000000 -0300
@@ -2409,8 +2412,6 @@
                gtk_text_buffer_insert(buffer, &iter, "\n", 1);
 
                compose->autowrap = prev_autowrap;
-               if (compose->autowrap)
-                       compose_wrap_all(compose);
        }
 
        if (attach) {

Attachment: signature.asc
Description: PGP signature

Reply via email to