aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-vfolder-rule.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-06-29 14:30:24 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-06-29 14:30:24 +0800
commitadc60c535fc3d0101b42a6bc8d67cf135c52e3df (patch)
tree59c4a83ac03d2a9b2557f503501b4422dad18ca2 /mail/em-vfolder-rule.c
parent55a575630d7618e586deb0d0d96a61e841ff3f03 (diff)
downloadgsoc2013-evolution-adc60c535fc3d0101b42a6bc8d67cf135c52e3df.tar.gz
gsoc2013-evolution-adc60c535fc3d0101b42a6bc8d67cf135c52e3df.tar.zst
gsoc2013-evolution-adc60c535fc3d0101b42a6bc8d67cf135c52e3df.zip
setup exclusion for vfolder sources, noselect folders. Bug #60794.
2004-06-29 Not Zed <NotZed@Ximian.com> * em-vfolder-rule.c (source_add): setup exclusion for vfolder sources, noselect folders. Bug #60794. svn path=/trunk/; revision=26544
Diffstat (limited to 'mail/em-vfolder-rule.c')
-rw-r--r--mail/em-vfolder-rule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c
index fc8532eba0..24cc3f390c 100644
--- a/mail/em-vfolder-rule.c
+++ b/mail/em-vfolder-rule.c
@@ -489,6 +489,7 @@ source_add(GtkWidget *widget, struct _source_data *data)
GtkWidget *dialog;
emft =(EMFolderTree *)em_folder_tree_new_with_model(mail_component_peek_tree_model(mail_component_peek()));
+ em_folder_tree_set_excluded(emft, EMFT_EXCLUDE_NOSELECT);
dialog = em_folder_selector_new(emft, EM_FOLDER_SELECTOR_CAN_CREATE, _("Select Folder"), NULL, _("_Add"));
gtk_window_set_transient_for((GtkWindow *)dialog, (GtkWindow *)gtk_widget_get_toplevel(widget));