Accepting request 416792 from GNOME:Factory

Sync up with SLE

OBS-URL: https://build.opensuse.org/request/show/416792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/evolution?expand=0&rev=185
This commit is contained in:
Dominique Leuenberger 2016-08-06 18:36:00 +00:00 committed by Git OBS Bridge
commit 1917c0cb76
4 changed files with 193 additions and 0 deletions

View File

@ -0,0 +1,64 @@
From 7d7e1d8be792977968788f8fe252a36422370fde Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Wed, 3 Aug 2016 13:21:12 +0200
Subject: [PATCH] Bug 768683 - Cannot mark as spam non-spam message in a real
Junk folder
---
mail/e-mail-reader.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index b41ddab..98b9e2a 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -3841,9 +3841,7 @@ mail_reader_update_actions (EMailReader *reader,
gtk_action_set_sensitive (action, sensitive);
action_name = "mail-mark-junk";
- sensitive =
- selection_has_not_junk_messages &&
- !(state & E_MAIL_READER_FOLDER_IS_JUNK);
+ sensitive = selection_has_not_junk_messages;
action = e_mail_reader_get_action (reader, action_name);
gtk_action_set_sensitive (action, sensitive);
@@ -4498,7 +4496,6 @@ e_mail_reader_check_state (EMailReader *reader)
gboolean has_mail_note = FALSE;
gboolean have_enabled_account = FALSE;
gboolean drafts_or_outbox = FALSE;
- gboolean store_supports_vjunk = FALSE;
gboolean is_mailing_list;
gboolean is_junk_folder = FALSE;
gboolean is_vtrash_folder = FALSE;
@@ -4522,7 +4519,6 @@ e_mail_reader_check_state (EMailReader *reader)
gchar *archive_folder;
store = camel_folder_get_parent_store (folder);
- store_supports_vjunk = (store->flags & CAMEL_STORE_VJUNK);
is_junk_folder =
(folder->folder_flags & CAMEL_FOLDER_IS_JUNK) != 0;
is_vtrash_folder = (store->flags & CAMEL_STORE_VTRASH) != 0 && (folder->folder_flags & CAMEL_FOLDER_IS_TRASH) != 0;
@@ -4567,7 +4563,7 @@ e_mail_reader_check_state (EMailReader *reader)
if (drafts_or_outbox) {
has_junk = FALSE;
has_not_junk = FALSE;
- } else if (store_supports_vjunk) {
+ } else {
guint32 bitmask;
/* XXX Strictly speaking, this logic is correct.
@@ -4590,10 +4586,6 @@ e_mail_reader_check_state (EMailReader *reader)
has_junk = TRUE;
has_not_junk = TRUE;
}
-
- } else {
- has_junk = TRUE;
- has_not_junk = TRUE;
}
if (flags & CAMEL_MESSAGE_DELETED)
--
2.6.6

View File

@ -0,0 +1,47 @@
From b8c2ca1a59b3cd84f034c4514b9ffd8f8607aa11 Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Tue, 2 Aug 2016 18:48:26 +0200
Subject: [PATCH] Bug 769062 - Crash on mouse over task when tasks are grouped
---
e-util/e-table-group-container.c | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/e-util/e-table-group-container.c b/e-util/e-table-group-container.c
index 0069e43..850e018 100644
--- a/e-util/e-table-group-container.c
+++ b/e-util/e-table-group-container.c
@@ -835,16 +835,27 @@ etgc_get_cell_geometry (ETableGroup *etg,
for (list = etgc->children; list; list = list->next) {
ETableGroupContainerChildNode *child_node = (ETableGroupContainerChildNode *) list->data;
ETableGroup *child = child_node->child;
- gint thisy;
+ gint thisy = 0;
+ gdouble group_header_y1 = 0.0, group_header_y2 = 0.0;
e_table_group_get_cell_geometry (child, row, col, x, &thisy, width, height);
ypos += thisy;
if ((*row == -1) || (*col == -1)) {
ypos += TITLE_HEIGHT;
- *x += GROUP_INDENT;
- *y = ypos;
+ if (x)
+ *x += GROUP_INDENT;
+ if (y)
+ *y = ypos;
return;
}
+
+ g_object_get (
+ child_node->rect,
+ "y1", &group_header_y1,
+ "y2", &group_header_y2,
+ NULL);
+
+ ypos += group_header_y2 - group_header_y1;
}
}
}
--
2.6.6

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Aug 3 17:36:41 UTC 2016 - mgorse@suse.com
- Add evolution-bgo769062-mouseover-crash.patch: fix crash on
mouse over task when tasks are grouped (bgo#769062).
- Add evolution-bgo768683-cannot-mark-as-spam.patch: allow marking
a non-spam message as spam in a junk folder (bgo#768683).
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 11 16:51:08 UTC 2016 - zaitor@opensuse.org Mon Jul 11 16:51:08 UTC 2016 - zaitor@opensuse.org
@ -64,6 +72,11 @@ Tue Jun 7 09:26:17 UTC 2016 - badshah400@gmail.com
+ Bugs fixed: bgo#766540, bgo#766713. + Bugs fixed: bgo#766540, bgo#766713.
+ Updated translations. + Updated translations.
-------------------------------------------------------------------
Mon May 16 21:38:35 UTC 2016 - mgorse@suse.com
- Update to GNOME 3.20.2 Fate#318572
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 10 17:15:01 UTC 2016 - zaitor@opensuse.org Tue May 10 17:15:01 UTC 2016 - zaitor@opensuse.org
@ -97,6 +110,15 @@ Mon Apr 25 20:21:39 UTC 2016 - zaitor@opensuse.org
- Drop pkgconfig(geoclue) BuildRequires: evolution stopped - Drop pkgconfig(geoclue) BuildRequires: evolution stopped
depending on it in version 3.12.8. depending on it in version 3.12.8.
-------------------------------------------------------------------
Thu Apr 14 18:12:30 UTC 2016 - mgorse@suse.com
- Update to GNOME 3.20 Fate#318572
- Drop evolution-bsc930240-a11y-3-12-fixes.patch,
evolution-bsc930240-a11y-3-16-fixes.patch,
0001-GalA11yETableColumnHeader-implement-AtkComponent.patch,
and evolution-drag-text-to-composer.patch: fixed upstream.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 13 22:37:39 UTC 2016 - mgorse@suse.com Wed Apr 13 22:37:39 UTC 2016 - mgorse@suse.com
@ -904,6 +926,14 @@ Mon Aug 10 06:07:16 UTC 2015 - zaitor@opensuse.org
+ Bugs fixed: bgo#724017, bgo#746276, bgo#751225, bgo#752637, + Bugs fixed: bgo#724017, bgo#746276, bgo#751225, bgo#752637,
bgo#753029, bgo#752997, bgo#753059, bgo#752994, bgo#347846. bgo#753029, bgo#752997, bgo#753059, bgo#752994, bgo#347846.
-------------------------------------------------------------------
Fri Jul 31 01:08:54 UTC 2015 - mgorse@suse.com
- Add evolution-bsc930240-a11y-3-12-fixes.patch,
evolution-bsc930240-a11y-3-16-fixes.patch, and
0001-GalA11yETableColumnHeader-implement-AtkComponent.patch:
fix accessibility of the message list (bsc#930240).
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 13 08:59:58 UTC 2015 - zaitor@opensuse.org Mon Jul 13 08:59:58 UTC 2015 - zaitor@opensuse.org
@ -1561,6 +1591,15 @@ Mon Sep 8 09:33:03 UTC 2014 - dimstar@opensuse.org
editor. editor.
+ Updated translations. + Updated translations.
-------------------------------------------------------------------
Wed Sep 3 00:36:56 UTC 2014 - dliang@suse.com
- modified patches:
* evolution-drag-text-to-composer.patch
update patch bnc#869562, the upstream function next_uri wrongly
split html content into lots of pieces that the edit cannot display
the html content nicely.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 26 17:01:41 UTC 2014 - zaitor@opensuse.org Tue Aug 26 17:01:41 UTC 2014 - zaitor@opensuse.org
@ -1587,6 +1626,21 @@ Mon Aug 11 08:47:15 UTC 2014 - zaitor@opensuse.org
- Set define need_autogen to 0, as we are not applying any patches - Set define need_autogen to 0, as we are not applying any patches
at the moment. at the moment.
-------------------------------------------------------------------
Wed Aug 6 22:23:23 UTC 2014 - dliang@suse.com
- modified patches:
* evolution-migrate-kmail-kcontact.patch (bnc#888256)
update to my patch submitted to upstream.
-------------------------------------------------------------------
Wed Jul 30 18:53:17 UTC 2014 - dliang@suse.com
- Added patches:
* evolution-drag-text-to-composer.patch (bnc#869562)
patch backport from upstream. I use old api and add extra check
of 'text/plain' type.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 23 19:48:05 UTC 2014 - dimstar@opensuse.org Wed Jul 23 19:48:05 UTC 2014 - dimstar@opensuse.org
@ -1680,6 +1734,28 @@ Sun Mar 23 08:47:29 UTC 2014 - zaitor@opensuse.org
configure. configure.
- Explicitly list all pc files in devel package. - Explicitly list all pc files in devel package.
-------------------------------------------------------------------
Fri Mar 21 19:47:20 CET 2014 - sbrabec@suse.cz
- Added support for gnome-patch-translation (1 string).
-------------------------------------------------------------------
Fri Mar 14 18:41:49 UTC 2014 - mgorse@suse.com
- Update to version 3.10.4:·
+ EMFolderTreeModel: Fix subscribing to a folder with children.
+ EDateEdit: Force 24 hour format for locales without am/pm
equivalents.
+ Avoid multiple save of folder changes on application quit.
+ EHttpRequest: Avoid possible data stream memory leak.
+ Bugs fixed: bgo#583773, bgo#645476, bgo#677300, bgo#702709,
bgo#702958, bgo#707121, bgo#707518, bgo#720542, bgo#721213,
bgo#721639, bgo#722352, bgo#723377.
+ Updated translations.
- Add evolution-create-folder-crash.patch -- fix a crash when
creating a new folder (bgo#722698).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 14 03:11:59 UTC 2014 - dimstar@opensuse.org Fri Mar 14 03:11:59 UTC 2014 - dimstar@opensuse.org

View File

@ -36,6 +36,10 @@ Group: Productivity/Networking/Email/Clients
# NOTE: Some files are currently GPL-2.0 but pending relicensing, see bnc#749859 # NOTE: Some files are currently GPL-2.0 but pending relicensing, see bnc#749859
Url: http://wiki.gnome.org/Apps/Evolution/ Url: http://wiki.gnome.org/Apps/Evolution/
Source0: http://download.gnome.org/sources/evolution/3.20/%{name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/evolution/3.20/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM evolution-bgo769062-mouseover-crash.patch bgo#769062 mgorse@suse.com -- fix crash on mouse over task when tasks are grouped.
Patch0: evolution-bgo769062-mouseover-crash.patch
# PATCH-FIX-UPSTREAM evolution-bgo768683-cannot-mark-as-spam.patch bgo#768683 mgorse@suse.com -- fix for not being able to mark a non-spam message in a spam folder as spam over imap.
Patch1: evolution-bgo768683-cannot-mark-as-spam.patch
# The icon we rely on is from adwaita-icon-theme # The icon we rely on is from adwaita-icon-theme
BuildRequires: adwaita-icon-theme BuildRequires: adwaita-icon-theme
BuildRequires: bison BuildRequires: bison
@ -161,6 +165,8 @@ to develop applications that require these.
%prep %prep
%setup -q %setup -q
translation-update-upstream translation-update-upstream
%patch0 -p1
%patch1 -p1
%build %build
%if %{need_autogen} %if %{need_autogen}