pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-users] Re: ANN: Pan 0.124 "Goblin Worlds"


From: Charles Kerr
Subject: Re: [Pan-users] Re: ANN: Pan 0.124 "Goblin Worlds"
Date: Mon, 12 Feb 2007 21:04:22 -0600
User-agent: Thunderbird 1.5.0.9 (X11/20070130)

Artur Jachacy wrote:
On Tue, 13 Feb 2007 00:05:47 +0000, Artur Jachacy wrote:
There's a weird bug in 0.124: when I try to send a post, a warning comes up
that the signature marker should be "-- ", not "--". But the marker is added
by Pan itself and is in fact "-- ".

Or is it? Looks like Pan removes the space and then complains about it. It's
there in the compose window, but not in the message that is sent.

This one-liner patch should fix the sig problem.

I'll definitely fix the Outlook-style wrap ASAP.
I wouldn't want Pan to be compared to _that_ program. ;)

cheers,
Charles

Index: pan/gui/post-ui.cc
===================================================================
--- pan/gui/post-ui.cc  (revision 179)
+++ pan/gui/post-ui.cc  (working copy)
@@ -130,7 +130,6 @@
   line_start = line_end = body_start;
   while ((gtk_text_view_forward_display_line (view, &line_end))) {
     char * line = gtk_text_buffer_get_text (buf, &line_start, &line_end, 
false);
-    line = g_strchomp (line); // erase trailing whitespace
     body += line;
     body += '\n';
     g_free (line);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]