aboutsummaryrefslogtreecommitdiffstats
path: root/composer
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
parent68b874ce7fad1ef1783df3d9cbc78e3df1a43f3a (diff)
downloadgsoc2013-evolution-c08e1cbe12bdf1a2fa9dca73014728ae680c685b.tar
gsoc2013-evolution-c08e1cbe12bdf1a2fa9dca73014728ae680c685b.tar.gz
gsoc2013-evolution-c08e1cbe12bdf1a2fa9dca73014728ae680c685b.tar.bz2
gsoc2013-evolution-c08e1cbe12bdf1a2fa9dca73014728ae680c685b.tar.lz
gsoc2013-evolution-c08e1cbe12bdf1a2fa9dca73014728ae680c685b.tar.xz
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')
-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."));