[evolution-groupwise] Adapt to Evolution API changes.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-groupwise] Adapt to Evolution API changes.
- Date: Thu, 18 Aug 2011 03:31:38 +0000 (UTC)
commit 0a295202d24e104671a2d531c182e5ab753474e4
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Aug 17 23:11:22 2011 -0400
Adapt to Evolution API changes.
src/plugins/install-shared.c | 3 +--
src/plugins/proxy-login.c | 4 ++--
src/plugins/share-folder-common.c | 11 +----------
3 files changed, 4 insertions(+), 14 deletions(-)
---
diff --git a/src/plugins/install-shared.c b/src/plugins/install-shared.c
index 8066e19..c1bbe45 100644
--- a/src/plugins/install-shared.c
+++ b/src/plugins/install-shared.c
@@ -136,8 +136,7 @@ install_folder_response (EMFolderSelector *emfs, gint response, gpointer *data)
return;
}
- em_folder_tree_model_add_store (
- model, store, account->name);
+ em_folder_tree_model_add_store (model, store);
}
}
diff --git a/src/plugins/proxy-login.c b/src/plugins/proxy-login.c
index 6dcf629..3e18c65 100644
--- a/src/plugins/proxy-login.c
+++ b/src/plugins/proxy-login.c
@@ -431,10 +431,10 @@ proxy_login_add_new_store (CamelStore *store,
return;
if (!(permissions & E_GW_PROXY_MAIL_WRITE))
- store->mode &= !CAMEL_STORE_WRITE;
+ store->mode &= !CAMEL_STORE_WRITE;
store->flags |= CAMEL_STORE_PROXY;
- e_mail_store_add (session, store, account->name);
+ e_mail_store_add (session, store);
}
static void
diff --git a/src/plugins/share-folder-common.c b/src/plugins/share-folder-common.c
index 00c3dbd..0038d7f 100644
--- a/src/plugins/share-folder-common.c
+++ b/src/plugins/share-folder-common.c
@@ -69,9 +69,7 @@ static void
refresh_folder_tree (EMFolderTreeModel *model, CamelStore *store)
{
EAccount *account;
- CamelProvider *provider;
const gchar *uid;
- gchar *uri;
uid = camel_service_get_uid (CAMEL_SERVICE (store));
account = e_get_account_by_uid (uid);
@@ -79,16 +77,9 @@ refresh_folder_tree (EMFolderTreeModel *model, CamelStore *store)
if (account == NULL)
return;
- uri = account->source->url;
em_folder_tree_model_remove_store (model, store);
- provider = camel_provider_get (uri, NULL);
- if (provider == NULL)
- return;
-
- if (!(provider->flags & CAMEL_PROVIDER_IS_STORAGE))
- return;
- em_folder_tree_model_add_store (model, store, account->name);
+ em_folder_tree_model_add_store (model, store);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]