aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/groupwise-features/ChangeLog6
-rw-r--r--plugins/groupwise-features/share-folder-common.c4
2 files changed, 10 insertions, 0 deletions
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 <sparthasarathi@novell.com>
+
+ ** See bug 326348
+ * share-folder-common.c:(refresh_folder_tree)
+ check if its a valid accoune before creating folder
+
2006-01-27 Andre Klapper <a9016009@gmx.de>
* 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);