From 66e80f9db9830957723f2d76479f564627d0357f Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Mon, 2 Jan 2006 09:52:58 +0000 Subject: In the plugin porceed only with the exchange account folders. fixes #325491. svn path=/trunk/; revision=31020 --- plugins/exchange-operations/ChangeLog | 8 ++++++++ plugins/exchange-operations/exchange-folder-permission.c | 6 +++++- plugins/exchange-operations/exchange-folder.c | 4 +++- 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'plugins') 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 + + * 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 * 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; -- cgit v1.2.3