evolution r36704 - branches/gnome-2-24/mail
- From: psankar svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r36704 - branches/gnome-2-24/mail
- Date: Fri, 31 Oct 2008 11:22:44 +0000 (UTC)
Author: psankar
Date: Fri Oct 31 11:22:44 2008
New Revision: 36704
URL: http://svn.gnome.org/viewvc/evolution?rev=36704&view=rev
Log:
Disable mail deletion and rename
for system folders.
Modified:
branches/gnome-2-24/mail/ChangeLog
branches/gnome-2-24/mail/em-folder-tree.c
Modified: branches/gnome-2-24/mail/em-folder-tree.c
==============================================================================
--- branches/gnome-2-24/mail/em-folder-tree.c (original)
+++ branches/gnome-2-24/mail/em-folder-tree.c Fri Oct 31 11:22:44 2008
@@ -2185,6 +2185,10 @@
info_flags |= CAMEL_FOLDER_VIRTUAL | CAMEL_FOLDER_NOINFERIORS;
selfolder = em_folder_tree_get_selected_folder (emft);
+
+ if (folder_type_flags & CAMEL_FOLDER_SYSTEM)
+ flags &= ~EM_POPUP_FOLDER_DELETE;
+
if (em_utils_folder_is_outbox (selfolder, NULL))
info_flags |= CAMEL_FOLDER_TYPE_OUTBOX;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]