aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-03-22 14:07:32 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-03-22 14:07:32 +0800
commitc08e1cbe12bdf1a2fa9dca73014728ae680c685b (patch)
treee0fba8345da9c0525155d6854c8601495226142e /composer/e-msg-composer-hdrs.c
parent68b874ce7fad1ef1783df3d9cbc78e3df1a43f3a (diff)
downloadgsoc2013-evolution-c08e1cbe12bdf1a2fa9dca73014728ae680c685b.tar.gz
gsoc2013-evolution-c08e1cbe12bdf1a2fa9dca73014728ae680c685b.tar.zst
gsoc2013-evolution-c08e1cbe12bdf1a2fa9dca73014728ae680c685b.zip
exclude non-viable folder targets for selection, related to #55089.
2004-03-22 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (post_browser_clicked_cb): exclude non-viable folder targets for selection, related to #55089. svn path=/trunk/; revision=25140
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 4c9b473954..06bd55993f 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -502,7 +502,8 @@ post_browser_clicked_cb (GtkButton *button, EMsgComposerHdrs *hdrs)
model = mail_component_peek_tree_model (mail_component_peek ());
emft = (EMFolderTree *) em_folder_tree_new_with_model (model);
em_folder_tree_set_multiselect (emft, TRUE);
-
+ 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,
_("Posting destination"),
_("Choose folders to post the message to."));