From c523e430278b5fe1f7136d6219913678f2f30c13 Mon Sep 17 00:00:00 2001 From: Parthasarathi Susarla Date: Wed, 8 Feb 2006 11:08:24 +0000 Subject: ** See bug 326348 check if its a valid accoune before creating folder 2006-02-08 Parthasarathi Susarla ** See bug 326348 * share-folder-common.c:(refresh_folder_tree) check if its a valid accoune before creating folder svn path=/trunk/; revision=31445 --- plugins/groupwise-features/share-folder-common.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/groupwise-features/share-folder-common.c') diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c index ee006369e5..e4e32304e7 100644 --- a/plugins/groupwise-features/share-folder-common.c +++ b/plugins/groupwise-features/share-folder-common.c @@ -78,6 +78,10 @@ refresh_folder_tree (EMFolderTreeModel *model, CamelStore *store) uri = camel_url_to_string (((CamelService *) store)->url, CAMEL_URL_HIDE_ALL); account = mail_config_get_account_by_source_url (uri); + if (!account){ + return; + } + uri = account->source->url; em_folder_tree_model_remove_store (model, store); -- cgit