aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/em-folder-tree-model.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3fa1c75c27..b314722d20 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2006-04-10 Jeff Cai <jeff.cai@sun.com>
+
+ ** Fixes 333243
+ * em-folder-tree-model.c: (em_folder_tree_model_remove_folders):
+ For null uri, don't need remove it.
+
2006-04-05 Jeff Cai <jeff.cai@sun.com>
Fixes bug #333987
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 219ba75225..ec4069a6d0 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -898,7 +898,8 @@ em_folder_tree_model_remove_folders (EMFolderTreeModel *model, struct _EMFolderT
gtk_tree_row_reference_free (row);
}
- em_folder_tree_model_remove_uri (model, uri);
+ if (uri)
+ em_folder_tree_model_remove_uri (model, uri);
gtk_tree_store_remove ((GtkTreeStore *) model, toplevel);