aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorParthasarathi Susarla <sparthasarathi@novell.com>2006-02-08 19:08:24 +0800
committerParthasarathi Susarla <saps@src.gnome.org>2006-02-08 19:08:24 +0800
commitc523e430278b5fe1f7136d6219913678f2f30c13 (patch)
treee14bc09377a76a29d2e54fdf1d514e8b24558d5f /plugins
parent8c60479e7c4346b64fa35fa30fa5cae1f535c187 (diff)
downloadgsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar.gz
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar.bz2
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar.lz
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar.xz
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.tar.zst
gsoc2013-evolution-c523e430278b5fe1f7136d6219913678f2f30c13.zip
** See bug 326348 check if its a valid accoune before creating folder
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 svn path=/trunk/; revision=31445
Diffstat (limited to 'plugins')
-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);