[evolution-exchange] Bug #597507 - Permission dialog doesn't pop up.



commit 7ec493a2183748e86a5ea45e940b0397e11c301b
Author: Bharath Acharya <abharath novell com>
Date:   Thu Feb 18 17:56:37 2010 +0530

    Bug #597507 - Permission dialog doesn't pop up.
    
    Look for the right path in the hash table.

 eplugin/exchange-folder-permission.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/eplugin/exchange-folder-permission.c b/eplugin/exchange-folder-permission.c
index f9b3cb7..9efdefc 100644
--- a/eplugin/exchange-folder-permission.c
+++ b/eplugin/exchange-folder-permission.c
@@ -82,6 +82,7 @@ call_folder_permissions (const gchar *uri)
 {
 	ExchangeAccount *account = NULL;
 	EFolder *folder = NULL;
+	gchar *path;
 
 	g_return_if_fail (uri != NULL);
 
@@ -89,7 +90,9 @@ call_folder_permissions (const gchar *uri)
 	if (!account)
 		return;
 
-	folder = exchange_account_get_folder (account, uri);
+	path = uri + strlen ("exchange://") + strlen (account->account_filename);
+
+	folder = exchange_account_get_folder (account, path);
 	if (folder)
 		exchange_permissions_dialog_new (account, folder, NULL);
 }



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