Updated to 3.11.1

This commit is contained in:
Denis Silakov 2015-06-03 23:36:23 +03:00
parent 9711e9ea50
commit 83f8f27984
4 changed files with 20 additions and 20 deletions

View file

@ -1,2 +1,4 @@
sources: removed_sources:
claws-mail-3.11.0.tar.xz: 1fc919e7d4357408a04131c4195878ea920de4f0 claws-mail-3.11.0.tar.xz: 1fc919e7d4357408a04131c4195878ea920de4f0
sources:
claws-mail-3.11.1.tar.xz: b0c07906043f7a3ec726c7a96d6dcfc3c148b9cc

View file

@ -0,0 +1,14 @@
diff -Naur claws-mail-3.11.1.orig/src/summaryview.c claws-mail-3.11.1/src/summaryview.c
--- claws-mail-3.11.1.orig/src/summaryview.c 2015-06-03 23:35:40.000000000 +0300
+++ claws-mail-3.11.1/src/summaryview.c 2015-06-03 23:35:40.000000000 +0300
@@ -4631,6 +4631,10 @@
summary_msginfo_unset_flags(msginfo, MSG_DELETED, MSG_MOVE);
}
if (!prefs_common.immediate_exec) {
+ if (to_folder->stype == F_TRASH
+ && MSG_IS_UNREAD(msginfo->flags)) {
+ summary_mark_row_as_read(summaryview, row);
+ }
summary_set_row_marks(summaryview, row);
}

View file

@ -1,16 +0,0 @@
# Description: feature patch to mark as read mails moved to trash
# Author: Ricardo Mones <mones@debian.org>
diff -ur claws-mail-3.7.6.orig//src/summaryview.c claws-mail-3.7.6//src/summaryview.c
--- claws-mail-3.7.6.orig//src/summaryview.c 2010-02-19 09:10:55.000000000 +0100
+++ claws-mail-3.7.6//src/summaryview.c 2010-05-05 16:14:14.000000000 +0200
@@ -4449,6 +4449,10 @@
summary_msginfo_unset_flags(msginfo, MSG_DELETED, MSG_MOVE);
}
if (!prefs_common.immediate_exec) {
+ if (to_folder->stype == F_TRASH
+ && MSG_IS_UNREAD(msginfo->flags)) {
+ summary_mark_row_as_read(summaryview, row);
+ }
summary_set_row_marks(summaryview, row);
}

View file

@ -6,15 +6,15 @@
Summary: The user-friendly, lightweight and fast GTK2 based email client Summary: The user-friendly, lightweight and fast GTK2 based email client
Name: claws-mail Name: claws-mail
Version: 3.11.0 Version: 3.11.1
Release: 2 Release: 1
Epoch: 1 Epoch: 1
License: GPLv3+ License: GPLv3+
Group: Networking/Mail Group: Networking/Mail
Url: http://www.claws-mail.org Url: http://www.claws-mail.org
Source0: http://downloads.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.xz Source0: http://downloads.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.xz
# from Debian # from Debian
Patch0: claws-mail-3.7.6-trashed-read.patch Patch0: claws-mail-3.11.1-trashed-read.patch
BuildRequires: bison BuildRequires: bison
BuildRequires: flex BuildRequires: flex
BuildRequires: docbook-utils BuildRequires: docbook-utils