aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations/exchange-folder-permission.c
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2006-01-02 17:52:58 +0800
committerSushma Rai <rsushma@src.gnome.org>2006-01-02 17:52:58 +0800
commit66e80f9db9830957723f2d76479f564627d0357f (patch)
tree3514f98ea750c004ac2846b5d27fc55d9373b852 /plugins/exchange-operations/exchange-folder-permission.c
parentb06a8cc610490dd051eb313c0e0b8a455feef655 (diff)
downloadgsoc2013-evolution-66e80f9db9830957723f2d76479f564627d0357f.tar.gz
gsoc2013-evolution-66e80f9db9830957723f2d76479f564627d0357f.tar.zst
gsoc2013-evolution-66e80f9db9830957723f2d76479f564627d0357f.zip
In the plugin porceed only with the exchange account folders.
fixes #325491. svn path=/trunk/; revision=31020
Diffstat (limited to 'plugins/exchange-operations/exchange-folder-permission.c')
-rw-r--r--plugins/exchange-operations/exchange-folder-permission.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/exchange-operations/exchange-folder-permission.c b/plugins/exchange-operations/exchange-folder-permission.c
index e748773476..8a33d55f22 100644
--- a/plugins/exchange-operations/exchange-folder-permission.c
+++ b/plugins/exchange-operations/exchange-folder-permission.c
@@ -150,8 +150,12 @@ org_gnome_exchange_folder_permissions (EPlugin *ep, EMPopupTargetFolder *target)
int i = 0;
static int first =0;
gchar *path = NULL;
- ExchangeAccount *account = exchange_operations_get_exchange_account ();
+ ExchangeAccount *account = NULL;
+
+ if (!g_strrstr (target->uri, "exchange://"))
+ return;
+ account = exchange_operations_get_exchange_account ();
if (!account)
return;