[evolution-ews/gnome-2-28] Set the connection status properly in ews gal. Set the cache dir properly in ews gal.



commit f1a5afa9a9119c7145dfea5f2531a9e27f5653b8
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Mon Sep 12 10:37:55 2011 +0530

    Set the connection status properly in ews gal.
    Set the cache dir properly in ews gal.

 src/addressbook/e-book-backend-ews-gal.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-ews-gal.c b/src/addressbook/e-book-backend-ews-gal.c
index b9cf10b..bfacac3 100644
--- a/src/addressbook/e-book-backend-ews-gal.c
+++ b/src/addressbook/e-book-backend-ews-gal.c
@@ -224,7 +224,7 @@ ews_get_cache_dir (EBookBackend *backend, ESource *source)
         mangled_uri = g_strdelimit (e_source_get_uri (source), ":/", '_');
 
         filename = g_build_filename (
-                g_get_home_dir (), ".evolution", "addressbook", "cache", mangled_uri, NULL);
+                g_get_home_dir (), ".evolution", "cache", "addressbook", mangled_uri, NULL);
 
         g_free (mangled_uri);
 
@@ -1011,6 +1011,9 @@ e_book_backend_ews_gal_load_source 	(EBookBackend *backend,
 	}
 
 	e_book_backend_set_is_loaded (backend, TRUE);
+	if (priv->mode == GNOME_Evolution_Addressbook_MODE_REMOTE)
+		e_book_backend_notify_connection_status (backend, TRUE);
+
 	return EDB_ERROR (Success);
 }
 



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