aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--composer/ChangeLog5
-rw-r--r--composer/e-msg-composer-hdrs.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 164230c18c..4943dc6cb3 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2004-03-18 Radek Doulik <rodo@ximian.com>
* listener.c (impl_event): delete event: if empty paragraph has
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."));