Merge lp:~barry/ubuntu/natty/claws-mail/bug-724416 into lp:ubuntu/natty/claws-mail

Proposed by Barry Warsaw
Status: Merged
Merged at revision: 42
Proposed branch: lp:~barry/ubuntu/natty/claws-mail/bug-724416
Merge into: lp:ubuntu/natty/claws-mail
Diff against target: 81 lines (+33/-2)
5 files modified
.pc/applied-patches (+1/-0)
debian/changelog (+9/-0)
debian/patches/60upstream_bug_2325_fix.patch (+20/-0)
debian/patches/series (+1/-0)
src/folder.c (+2/-2)
To merge this branch: bzr merge lp:~barry/ubuntu/natty/claws-mail/bug-724416
Reviewer Review Type Date Requested Status
Evan Broder (community) Needs Fixing
Ubuntu branches Pending
Review via email: mp+52000@code.launchpad.net

Description of the change

This patch from upstream CVS fixes the double appending of sent messages to the Sent folder.

To post a comment you must log in.
Revision history for this message
Evan Broder (broder) wrote :

This patch looks fine, but ugh the claws-mail branch is thoroughly massive. This coffeeshop's wifi isn't cutting it.

In the mean time, the one issue I see is that 60upstream_bug_2325_fix.patch doesn't have a DEP-3 header, which is a better place to put patch provenance information than the changelog.

I'm going to take another look at this when I get home. In the interests of expediency, there's enough information here that I'll go ahead and write up the DEP-3 header when I do so, if you haven't had a chance to by then.

review: Needs Fixing
Revision history for this message
Barry Warsaw (barry) wrote :

On Mar 03, 2011, at 03:32 AM, Evan Broder wrote:

>Review: Needs Fixing
>This patch looks fine, but ugh the claws-mail branch is thoroughly massive. This coffeeshop's wifi isn't cutting it.
>
>In the mean time, the one issue I see is that 60upstream_bug_2325_fix.patch doesn't have a DEP-3 header, which is a better place to put patch provenance information than the changelog.
>
>I'm going to take another look at this when I get home. In the interests of
>expediency, there's enough information here that I'll go ahead and write up
>the DEP-3 header when I do so, if you haven't had a chance to by then.

Apologies, it was late and I neglected to add the DEP-3 headers. I just
pushed a branch update which contains them in the style of other patches in
this package (i.e. prepend each line with '#'). However I see the branch has
been merged and pushed.

Thanks for that! If you feel like it, please do merge and push the updated
patch DEP3 headers.

Cheers.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.pc/applied-patches'
2--- .pc/applied-patches 2010-12-14 17:17:07 +0000
3+++ .pc/applied-patches 2011-03-03 02:26:55 +0000
4@@ -2,3 +2,4 @@
5 12fix_manpage_header.patch
6 50disable_can_change_accels_by_default
7 13fix_manpage_hyphens.patch
8+60upstream_bug_2325_fix.patch
9
10=== modified file 'debian/changelog'
11--- debian/changelog 2011-01-21 19:02:33 +0000
12+++ debian/changelog 2011-03-03 02:26:55 +0000
13@@ -1,3 +1,12 @@
14+claws-mail (3.7.8-1ubuntu4) natty; urgency=low
15+
16+ * debian/patches/60upstream_bug_2325_fix.patch: Upstream suggested
17+ patch to fix appending of duplicate messages to sent folder.
18+ http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2376
19+ (LP: #724416)
20+
21+ -- Barry Warsaw <barry@ubuntu.com> Wed, 02 Mar 2011 21:20:49 -0500
22+
23 claws-mail (3.7.8-1ubuntu3) natty; urgency=low
24
25 * debian/claws-mail.desktop: Pass mailto: URL to claws-mail executable
26
27=== added file 'debian/patches/60upstream_bug_2325_fix.patch'
28--- debian/patches/60upstream_bug_2325_fix.patch 1970-01-01 00:00:00 +0000
29+++ debian/patches/60upstream_bug_2325_fix.patch 2011-03-03 02:26:55 +0000
30@@ -0,0 +1,20 @@
31+--- a/src/folder.c
32++++ b/src/folder.c
33+@@ -3492,7 +3492,7 @@
34+ if (g_hash_table_lookup_extended(relation, msginfo, &old_key, &data))
35+ num = GPOINTER_TO_INT(data);
36+ else
37+- num = -1;
38++ num = 0;
39+
40+ if (g_slist_find(not_moved, msginfo))
41+ continue;
42+@@ -3539,7 +3539,7 @@
43+ if (g_hash_table_lookup_extended(relation, msginfo, &old_key, &data))
44+ num = GPOINTER_TO_INT(data);
45+ else
46+- num = -1;
47++ num = 0;
48+
49+ statusbar_progress_all(curmsg++,total, 100);
50+ if (curmsg % 100 == 0)
51
52=== modified file 'debian/patches/series'
53--- debian/patches/series 2010-12-14 17:17:07 +0000
54+++ debian/patches/series 2011-03-03 02:26:55 +0000
55@@ -2,3 +2,4 @@
56 12fix_manpage_header.patch
57 50disable_can_change_accels_by_default
58 13fix_manpage_hyphens.patch
59+60upstream_bug_2325_fix.patch
60
61=== modified file 'src/folder.c'
62--- src/folder.c 2010-12-14 17:17:07 +0000
63+++ src/folder.c 2011-03-03 02:26:55 +0000
64@@ -3492,7 +3492,7 @@
65 if (g_hash_table_lookup_extended(relation, msginfo, &old_key, &data))
66 num = GPOINTER_TO_INT(data);
67 else
68- num = -1;
69+ num = 0;
70
71 if (g_slist_find(not_moved, msginfo))
72 continue;
73@@ -3539,7 +3539,7 @@
74 if (g_hash_table_lookup_extended(relation, msginfo, &old_key, &data))
75 num = GPOINTER_TO_INT(data);
76 else
77- num = -1;
78+ num = 0;
79
80 statusbar_progress_all(curmsg++,total, 100);
81 if (curmsg % 100 == 0)

Subscribers

People subscribed via source and target branches

to all changes: