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/ChangeLog | 6 ++++++ plugins/groupwise-features/share-folder-common.c | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'plugins/groupwise-features') diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 70ad795474..07591553d3 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,9 @@ +2006-02-08 Parthasarathi Susarla + + ** See bug 326348 + * share-folder-common.c:(refresh_folder_tree) + check if its a valid accoune before creating folder + 2006-01-27 Andre Klapper * proxy-listing.glade: removed string "dialog1" from translation. Fixes bug 306118. 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