[evolution-exchange] Do not notify about readonly mode when not asked.



commit 68529b42d46a0efdf0be8f27342e5dc2ac97e178
Author: Milan Crha <mcrha redhat com>
Date:   Tue Apr 28 13:55:25 2009 +0200

    Do not notify about readonly mode when not asked.
    
    	** Fix for bug #553932
---
 ChangeLog                         |    7 +++++++
 calendar/e-cal-backend-exchange.c |    2 --
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7403f3a..e5d10d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-04-28  Milan Crha  <mcrha redhat com>
+
+	** Fix for bug #553932
+
+	* calendar/e-cal-backend-exchange.c: (set_mode):
+	Do not notify about readonly state here, we are not asked for that.
+
 2009-04-27  Milan Crha  <mcrha redhat com>
 
 	** Fix for bug #577105
diff --git a/calendar/e-cal-backend-exchange.c b/calendar/e-cal-backend-exchange.c
index cdfda07..428e536 100644
--- a/calendar/e-cal-backend-exchange.c
+++ b/calendar/e-cal-backend-exchange.c
@@ -1441,7 +1441,6 @@ set_mode (ECalBackend *backend, CalMode mode)
 			priv->read_only = FALSE;
 			priv->mode = CAL_MODE_REMOTE;
 
-			e_cal_backend_notify_readonly (backend, priv->read_only);
 			if (is_loaded (backend) && re_open)
 				e_cal_backend_notify_auth_required(backend);
 			break;
@@ -1453,7 +1452,6 @@ set_mode (ECalBackend *backend, CalMode mode)
 			e_cal_backend_notify_mode (backend,
 				GNOME_Evolution_Calendar_CalListener_MODE_SET,
 				GNOME_Evolution_Calendar_MODE_LOCAL);
-			e_cal_backend_notify_readonly (backend, priv->read_only);
 			break;
 
 	default :



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]