diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-07-19 11:13:50 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-07-19 11:13:50 +0000 |
commit | 383e35d6e1c1d65829a2db6fa96d02f7a389ec20 (patch) | |
tree | bd90f0449a112bd86cea121de83a49fbdad8fd65 /gnome-extra/evolution-data-server | |
parent | Version bump (diff) | |
download | gentoo-2-383e35d6e1c1d65829a2db6fa96d02f7a389ec20.tar.gz gentoo-2-383e35d6e1c1d65829a2db6fa96d02f7a389ec20.tar.bz2 gentoo-2-383e35d6e1c1d65829a2db6fa96d02f7a389ec20.zip |
Commit missing patch
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'gnome-extra/evolution-data-server')
-rw-r--r-- | gnome-extra/evolution-data-server/ChangeLog | 6 | ||||
-rw-r--r-- | gnome-extra/evolution-data-server/files/evolution-data-server-3.16.4-goa-gmail.patch | 108 |
2 files changed, 113 insertions, 1 deletions
diff --git a/gnome-extra/evolution-data-server/ChangeLog b/gnome-extra/evolution-data-server/ChangeLog index edebc34ec919..5b8e1cba1c56 100644 --- a/gnome-extra/evolution-data-server/ChangeLog +++ b/gnome-extra/evolution-data-server/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnome-extra/evolution-data-server # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.420 2015/07/19 10:54:37 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.421 2015/07/19 11:13:50 pacho Exp $ + + 19 Jul 2015; Pacho Ramos <pacho@gentoo.org> + +files/evolution-data-server-3.16.4-goa-gmail.patch: + Commit missing patch *evolution-data-server-3.16.4 (19 Jul 2015) diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-3.16.4-goa-gmail.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-3.16.4-goa-gmail.patch new file mode 100644 index 000000000000..c5fc44e1aa09 --- /dev/null +++ b/gnome-extra/evolution-data-server/files/evolution-data-server-3.16.4-goa-gmail.patch @@ -0,0 +1,108 @@ +From c66b549c259d33e15947d89257c50d945e3020c7 Mon Sep 17 00:00:00 2001 +From: Milan Crha <mcrha@redhat.com> +Date: Tue, 14 Jul 2015 11:49:31 +0200 +Subject: Doesn't honor Google settings as defined in gnome-online-accounts + +Use mail-disabled, calendar-disabled and contacts-disabled properties, +rather than rely on an interface addition/removal and a notification +about the change. + +Reported at https://bugzilla.redhat.com/show_bug.cgi?id=1242541 + +diff --git a/modules/gnome-online-accounts/module-gnome-online-accounts.c b/modules/gnome-online-accounts/module-gnome-online-accounts.c +index e800c23..2f9be5e 100644 +--- a/modules/gnome-online-accounts/module-gnome-online-accounts.c ++++ b/modules/gnome-online-accounts/module-gnome-online-accounts.c +@@ -162,50 +162,6 @@ gnome_online_accounts_provider_type_to_backend_name (GBinding *binding, + return TRUE; + } + +-static gboolean +-gnome_online_accounts_object_is_non_null (GBinding *binding, +- const GValue *source_value, +- GValue *target_value, +- gpointer unused) +-{ +- GoaObject *goa_object = GOA_OBJECT (g_binding_get_source (binding)); +- ESourceExtension *source_extension = E_SOURCE_EXTENSION (g_binding_get_target (binding)); +- ESource *source; +- ESourceGoa *goa_extension; +- gpointer v_object; +- +- v_object = g_value_get_object (source_value); +- g_value_set_boolean (target_value, v_object != NULL); +- +- g_return_val_if_fail (goa_object != NULL, TRUE); +- g_return_val_if_fail (source_extension != NULL, TRUE); +- +- source = e_source_extension_get_source (source_extension); +- goa_extension = e_source_get_extension (source, E_SOURCE_EXTENSION_GOA); +- +- if (g_strcmp0 (g_binding_get_source_property (binding), "calendar") == 0) { +- gchar *uri = NULL; +- +- if (v_object && GOA_IS_CALENDAR (v_object)) +- uri = goa_calendar_dup_uri (v_object); +- +- e_source_goa_set_calendar_url (goa_extension, uri); +- +- g_free (uri); +- } else if (g_strcmp0 (g_binding_get_source_property (binding), "contacts") == 0) { +- gchar *uri = NULL; +- +- if (v_object && GOA_IS_CONTACTS (v_object)) +- uri = goa_contacts_dup_uri (v_object); +- +- e_source_goa_set_contacts_url (goa_extension, uri); +- +- g_free (uri); +- } +- +- return TRUE; +-} +- + static GoaObject * + gnome_online_accounts_ref_account (EGnomeOnlineAccounts *extension, + ESource *source) +@@ -629,29 +585,20 @@ gnome_online_accounts_config_collection (EGnomeOnlineAccounts *extension, + source_extension, "identity", + G_BINDING_SYNC_CREATE); + +- e_binding_bind_property_full ( +- goa_object, "calendar", ++ e_binding_bind_property ( ++ goa_account, "calendar-disabled", + source_extension, "calendar-enabled", +- G_BINDING_SYNC_CREATE, +- gnome_online_accounts_object_is_non_null, +- NULL, +- NULL, (GDestroyNotify) NULL); ++ G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN); + +- e_binding_bind_property_full ( +- goa_object, "contacts", ++ e_binding_bind_property ( ++ goa_account, "contacts-disabled", + source_extension, "contacts-enabled", +- G_BINDING_SYNC_CREATE, +- gnome_online_accounts_object_is_non_null, +- NULL, +- NULL, (GDestroyNotify) NULL); ++ G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN); + +- e_binding_bind_property_full ( +- goa_object, "mail", ++ e_binding_bind_property ( ++ goa_account, "mail-disabled", + source_extension, "mail-enabled", +- G_BINDING_SYNC_CREATE, +- gnome_online_accounts_object_is_non_null, +- NULL, +- NULL, (GDestroyNotify) NULL); ++ G_BINDING_SYNC_CREATE | G_BINDING_INVERT_BOOLEAN); + + g_clear_object (&goa_account); + g_clear_object (&goa_calendar); +-- +cgit v0.10.2 + |