aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-04-10 01:07:31 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-04-10 01:07:31 +0800
commitc629a60b959e91c7158cce4d1f43ae82877f7add (patch)
treea8fad02fc452f625b5b9174898400486fe3ea0f2 /mail
parent5d7ca1af79287ca3672f3a52e2b35c799bd82867 (diff)
downloadgsoc2013-evolution-c629a60b959e91c7158cce4d1f43ae82877f7add.tar
gsoc2013-evolution-c629a60b959e91c7158cce4d1f43ae82877f7add.tar.gz
gsoc2013-evolution-c629a60b959e91c7158cce4d1f43ae82877f7add.tar.bz2
gsoc2013-evolution-c629a60b959e91c7158cce4d1f43ae82877f7add.tar.lz
gsoc2013-evolution-c629a60b959e91c7158cce4d1f43ae82877f7add.tar.xz
gsoc2013-evolution-c629a60b959e91c7158cce4d1f43ae82877f7add.tar.zst
gsoc2013-evolution-c629a60b959e91c7158cce4d1f43ae82877f7add.zip
Set the excluded bits on the folder-tree. Don't allow the user to xfer
2004-04-09 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selection.c (em_select_folder): Set the excluded bits on the folder-tree. Don't allow the user to xfer messages into folders which are: NoSelect, Virtual, nor vTrash. Fixes bug #56229. svn path=/trunk/; revision=25384
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-folder-selection.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 82b977a53a..092062b978 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2004-04-09 Jeffrey Stedfast <fejj@ximian.com>
+
+ * em-folder-selection.c (em_select_folder): Set the excluded bits
+ on the folder-tree. Don't allow the user to xfer messages into
+ folders which are: NoSelect, Virtual, nor vTrash. Fixes bug
+ #56229.
+
2004-04-09 Dan Winship <danw@ximian.com>
* em-folder-view.c (emfv_init): Create an
diff --git a/mail/em-folder-selection.c b/mail/em-folder-selection.c
index 42fc474f13..1012514f77 100644
--- a/mail/em-folder-selection.c
+++ b/mail/em-folder-selection.c
@@ -64,6 +64,7 @@ em_select_folder (GtkWindow *parent_window, const char *title, const char *defau
model = mail_component_peek_tree_model (mail_component_peek ());
emft = (EMFolderTree *) em_folder_tree_new_with_model (model);
+ em_folder_tree_set_excluded (emft, EMFT_EXCLUDE_NOSELECT|EMFT_EXCLUDE_VIRTUAL|EMFT_EXCLUDE_VTRASH);
dialog = em_folder_selector_new(emft, EM_FOLDER_SELECTOR_CAN_CREATE, title, NULL);