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
=== modified file '.pc/applied-patches'
--- .pc/applied-patches 2010-12-14 17:17:07 +0000
+++ .pc/applied-patches 2011-03-03 02:26:55 +0000
@@ -2,3 +2,4 @@
212fix_manpage_header.patch212fix_manpage_header.patch
350disable_can_change_accels_by_default350disable_can_change_accels_by_default
413fix_manpage_hyphens.patch413fix_manpage_hyphens.patch
560upstream_bug_2325_fix.patch
56
=== modified file 'debian/changelog'
--- debian/changelog 2011-01-21 19:02:33 +0000
+++ debian/changelog 2011-03-03 02:26:55 +0000
@@ -1,3 +1,12 @@
1claws-mail (3.7.8-1ubuntu4) natty; urgency=low
2
3 * debian/patches/60upstream_bug_2325_fix.patch: Upstream suggested
4 patch to fix appending of duplicate messages to sent folder.
5 http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2376
6 (LP: #724416)
7
8 -- Barry Warsaw <barry@ubuntu.com> Wed, 02 Mar 2011 21:20:49 -0500
9
1claws-mail (3.7.8-1ubuntu3) natty; urgency=low10claws-mail (3.7.8-1ubuntu3) natty; urgency=low
211
3 * debian/claws-mail.desktop: Pass mailto: URL to claws-mail executable12 * debian/claws-mail.desktop: Pass mailto: URL to claws-mail executable
413
=== added file 'debian/patches/60upstream_bug_2325_fix.patch'
--- debian/patches/60upstream_bug_2325_fix.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/60upstream_bug_2325_fix.patch 2011-03-03 02:26:55 +0000
@@ -0,0 +1,20 @@
1--- a/src/folder.c
2+++ b/src/folder.c
3@@ -3492,7 +3492,7 @@
4 if (g_hash_table_lookup_extended(relation, msginfo, &old_key, &data))
5 num = GPOINTER_TO_INT(data);
6 else
7- num = -1;
8+ num = 0;
9
10 if (g_slist_find(not_moved, msginfo))
11 continue;
12@@ -3539,7 +3539,7 @@
13 if (g_hash_table_lookup_extended(relation, msginfo, &old_key, &data))
14 num = GPOINTER_TO_INT(data);
15 else
16- num = -1;
17+ num = 0;
18
19 statusbar_progress_all(curmsg++,total, 100);
20 if (curmsg % 100 == 0)
021
=== modified file 'debian/patches/series'
--- debian/patches/series 2010-12-14 17:17:07 +0000
+++ debian/patches/series 2011-03-03 02:26:55 +0000
@@ -2,3 +2,4 @@
212fix_manpage_header.patch212fix_manpage_header.patch
350disable_can_change_accels_by_default350disable_can_change_accels_by_default
413fix_manpage_hyphens.patch413fix_manpage_hyphens.patch
560upstream_bug_2325_fix.patch
56
=== modified file 'src/folder.c'
--- src/folder.c 2010-12-14 17:17:07 +0000
+++ src/folder.c 2011-03-03 02:26:55 +0000
@@ -3492,7 +3492,7 @@
3492 if (g_hash_table_lookup_extended(relation, msginfo, &old_key, &data))3492 if (g_hash_table_lookup_extended(relation, msginfo, &old_key, &data))
3493 num = GPOINTER_TO_INT(data);3493 num = GPOINTER_TO_INT(data);
3494 else3494 else
3495 num = -1;3495 num = 0;
34963496
3497 if (g_slist_find(not_moved, msginfo))3497 if (g_slist_find(not_moved, msginfo))
3498 continue;3498 continue;
@@ -3539,7 +3539,7 @@
3539 if (g_hash_table_lookup_extended(relation, msginfo, &old_key, &data))3539 if (g_hash_table_lookup_extended(relation, msginfo, &old_key, &data))
3540 num = GPOINTER_TO_INT(data);3540 num = GPOINTER_TO_INT(data);
3541 else3541 else
3542 num = -1;3542 num = 0;
35433543
3544 statusbar_progress_all(curmsg++,total, 100);3544 statusbar_progress_all(curmsg++,total, 100);
3545 if (curmsg % 100 == 0)3545 if (curmsg % 100 == 0)

Subscribers

People subscribed via source and target branches

to all changes: