aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-02-18 05:02:56 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-02-18 05:02:56 +0800
commit7a7759645c6fd59bc0a4392072d626bf48e915b5 (patch)
tree57de323313850577b10f7ff956be3333e1e69371 /mail/mail-component.h
parent9046018d52a1e4cafbc68dfb231197d02f5b3f0e (diff)
downloadgsoc2013-evolution-7a7759645c6fd59bc0a4392072d626bf48e915b5.tar.gz
gsoc2013-evolution-7a7759645c6fd59bc0a4392072d626bf48e915b5.tar.zst
gsoc2013-evolution-7a7759645c6fd59bc0a4392072d626bf48e915b5.zip
Fix for bug #54060 (except for the "don't let users copy/move messages to
2004-02-17 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #54060 (except for the "don't let users copy/move messages to Outbox" bit). * em-folder-tree.c (emft_drop_target): Rearranged a little. We can check for special dest folders right away. Also added a check for the default local folders (Drafts/Inbox/Outbox/Sent) since we don't want to be able to move them anywhere else (copying is ok). (emft_popup_copy_folder_selected): Don't allow moving any of the default local folders to be consistant with drag&drop changes. (emft_popup_rename_folder): Don't allow the user to rename a default local folder. (emft_popup_delete_folder): Don't allow deletion of special local folders. * mail-component.c (mail_component_peek_local_store): New function to peek the local store. svn path=/trunk/; revision=24765
Diffstat (limited to 'mail/mail-component.h')
-rw-r--r--mail/mail-component.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-component.h b/mail/mail-component.h
index 0cd9229232..adedf00ba3 100644
--- a/mail/mail-component.h
+++ b/mail/mail-component.h
@@ -94,6 +94,7 @@ void mail_component_remove_folder (MailComponent *component, struct _CamelStore
struct _EMFolderTreeModel *mail_component_peek_tree_model (MailComponent *component);
+struct _CamelStore *mail_component_peek_local_store (MailComponent *mc);
struct _CamelFolder *mail_component_get_folder(MailComponent *mc, enum _mail_component_folder_t id);
const char *mail_component_get_folder_uri(MailComponent *mc, enum _mail_component_folder_t id);