[evolution-ews] EEwsNotification: Use proxy settings from the connection object
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] EEwsNotification: Use proxy settings from the connection object
- Date: Tue, 5 Jan 2021 09:39:06 +0000 (UTC)
commit 3084ece5abc8916986763d8c3e0ecb1799206136
Author: Milan Crha <mcrha redhat com>
Date: Tue Jan 5 10:37:20 2021 +0100
EEwsNotification: Use proxy settings from the connection object
The notification's SoupSession should use the same proxy as
the connection object, to be able to connect the same way as
the connection itself.
src/EWS/common/e-ews-notification.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/src/EWS/common/e-ews-notification.c b/src/EWS/common/e-ews-notification.c
index 57656d91..513324c0 100644
--- a/src/EWS/common/e-ews-notification.c
+++ b/src/EWS/common/e-ews-notification.c
@@ -164,6 +164,12 @@ ews_notification_constructed (GObject *object)
camel_ews_settings_get_auth_mechanism (ews_settings));
g_object_unref (ews_settings);
+
+ e_binding_bind_property (
+ cnc, "proxy-resolver",
+ notif->priv->soup_session, "proxy-resolver",
+ G_BINDING_SYNC_CREATE);
+
g_object_unref (cnc);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]