aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorSankar P <psankar@novell.com>2006-11-09 14:01:47 +0800
committerSankarasivasubramanian Pasupathilingam <psankar@src.gnome.org>2006-11-09 14:01:47 +0800
commit87d414d59f5363139f0fd945015e23652ff08360 (patch)
tree3fe23601b89b84193e9cda97a31bba6e773f9cc3 /mail/em-folder-browser.c
parent43dc82d3ac631e2ed2b63dcef858089c76a9fb6d (diff)
downloadgsoc2013-evolution-87d414d59f5363139f0fd945015e23652ff08360.tar.gz
gsoc2013-evolution-87d414d59f5363139f0fd945015e23652ff08360.tar.zst
gsoc2013-evolution-87d414d59f5363139f0fd945015e23652ff08360.zip
Disable mail delete for proxy when there are not enough rights
2006-11-09 Sankar P <psankar@novell.com> * em-folder-browser.c: (emfb_view_hide_selected): * em-folder-view.c: (emfv_popup_delete): * mail.error.xml: Disable mail delete for proxy when there are not enough rights svn path=/trunk/; revision=32958
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index b995b31631..366bf2a4d8 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -1439,6 +1439,11 @@ emfb_view_hide_selected(BonoboUIComponent *uid, void *data, const char *path)
/* TODO: perhaps this should sit directly on message_list? */
/* is it worth it, it's so trivial */
+
+ /* A new flag CAMEL_MESSAGE_HIDDEN is added by Sankar
+ while extending the CAMEL_MESSAGE_FLAGS for proxy permissions.
+ This can be used to hide messages. */
+
uids = message_list_get_selected(emfv->list);
message_list_hide_uids(emfv->list, uids);
message_list_free_uids(emfv->list, uids);