aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-12-12 04:02:24 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-12-12 04:02:24 +0800
commite0f24af03fc5b9e9a367e1956520a3944d17b3dd (patch)
treec4b7a1e32b80a9546297910ca9cd427aa8bc6a7d /mail/em-folder-tree.c
parent35e7a45e0f38140556af85c8791fd9c118dade02 (diff)
downloadgsoc2013-evolution-e0f24af03fc5b9e9a367e1956520a3944d17b3dd.tar.gz
gsoc2013-evolution-e0f24af03fc5b9e9a367e1956520a3944d17b3dd.tar.zst
gsoc2013-evolution-e0f24af03fc5b9e9a367e1956520a3944d17b3dd.zip
Shorten the namespace of some internal functions to just emft.
2003-12-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c: Shorten the namespace of some internal functions to just emft. (emft_popup_delete_rec): Don't delete the contents of a folder if it is a vFolder. Fixes bug #52029. svn path=/trunk/; revision=23927
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 4359e7a8f0..ebffc45d61 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -717,7 +717,7 @@ emft_tree_row_expanded (GtkTreeView *treeview, GtkTreeIter *root, GtkTreePath *t
emft_update_model_expanded_state (priv, root, TRUE);
if (!load) {
- em_folder_tree_queue_save_state (emft);
+ emft_queue_save_state (emft);
return;
}
@@ -1102,7 +1102,6 @@ emft_popup_delete_rec (CamelStore *store, CamelFolderInfo *fi, CamelException *e
if (fi->child) {
emft_popup_delete_rec (store, fi->child, ex);
-
if (camel_exception_is_set (ex))
return;
}
@@ -1113,8 +1112,10 @@ emft_popup_delete_rec (CamelStore *store, CamelFolderInfo *fi, CamelException *e
if (camel_store_supports_subscriptions (store))
camel_store_unsubscribe_folder (store, fi->full_name, NULL);
- folder = camel_store_get_folder (store, fi->full_name, 0, NULL);
- if (folder) {
+ if (!(folder = camel_store_get_folder (store, fi->full_name, 0, ex)))
+ return;
+
+ if (!CAMEL_IS_VEE_FOLDER (folder)) {
GPtrArray *uids = camel_folder_get_uids (folder);
int i;