aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/exchange-operations
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
parentb06a8cc610490dd051eb313c0e0b8a455feef655 (diff)
downloadgsoc2013-evolution-66e80f9db9830957723f2d76479f564627d0357f.tar
gsoc2013-evolution-66e80f9db9830957723f2d76479f564627d0357f.tar.gz
gsoc2013-evolution-66e80f9db9830957723f2d76479f564627d0357f.tar.bz2
gsoc2013-evolution-66e80f9db9830957723f2d76479f564627d0357f.tar.lz
gsoc2013-evolution-66e80f9db9830957723f2d76479f564627d0357f.tar.xz
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')
-rw-r--r--plugins/exchange-operations/ChangeLog8
-rw-r--r--plugins/exchange-operations/exchange-folder-permission.c6
-rw-r--r--plugins/exchange-operations/exchange-folder.c4
3 files changed, 16 insertions, 2 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog
index c08a1408f6..f0fe72418c 100644
--- a/plugins/exchange-operations/ChangeLog
+++ b/plugins/exchange-operations/ChangeLog
@@ -1,3 +1,11 @@
+2006-01-02 Sushma Rai <rsushma@novell.com>
+
+ * exchange-folder-permission.c (org_gnome_exchange_folder_permissions):
+ Proceed only with the exchange account folders.
+
+ * exchange-folder.c (org_gnome_exchange_check_inbox_subscribe):
+ Similar. Fixes #325491.
+
2005-12-30 Andre Klapper <a9016009@gmx.de>
* evolution/plugins/exchange-operations/org-gnome-exchange-operations.error.xml:
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;
diff --git a/plugins/exchange-operations/exchange-folder.c b/plugins/exchange-operations/exchange-folder.c
index 1c6eeaeccf..e8fbaa6a4f 100644
--- a/plugins/exchange-operations/exchange-folder.c
+++ b/plugins/exchange-operations/exchange-folder.c
@@ -204,8 +204,10 @@ org_gnome_exchange_check_inbox_subscribed (EPlugin *ep, EMPopupTargetFolder *tar
gchar *path = NULL;
gchar *sub_folder = NULL;
- account = exchange_operations_get_exchange_account ();
+ if (!g_strrstr (target->uri, "exchange://"))
+ return;
+ account = exchange_operations_get_exchange_account ();
if (!account)
return;