aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-05-17 05:40:52 +0800
committerDan Winship <danw@src.gnome.org>2001-05-17 05:40:52 +0800
commit7031a911d71eb1f527f8ff9336f050679a7b74f9 (patch)
tree1c05b828c60c41dd40a97f39a5940c75dc0c2d17 /mail/message-list.h
parentd8fcf587007ce67a1eda2b036599ac3f7e643af9 (diff)
downloadgsoc2013-evolution-7031a911d71eb1f527f8ff9336f050679a7b74f9.tar
gsoc2013-evolution-7031a911d71eb1f527f8ff9336f050679a7b74f9.tar.gz
gsoc2013-evolution-7031a911d71eb1f527f8ff9336f050679a7b74f9.tar.bz2
gsoc2013-evolution-7031a911d71eb1f527f8ff9336f050679a7b74f9.tar.lz
gsoc2013-evolution-7031a911d71eb1f527f8ff9336f050679a7b74f9.tar.xz
gsoc2013-evolution-7031a911d71eb1f527f8ff9336f050679a7b74f9.tar.zst
gsoc2013-evolution-7031a911d71eb1f527f8ff9336f050679a7b74f9.zip
Functions to determine if a folderbrowser is one of the drafts, sent, or
* folder-browser.c (folder_browser_is_drafts, folder_browser_is_sent, folder_browser_is_outbox): Functions to determine if a folderbrowser is one of the drafts, sent, or outbox folders. (got_folder): Pass TRUE for the "outgoing" flag to message_list_set_folder if this is a Sent, Drafts, or Outbox folder. * message-list.c (message_list_set_folder): Take a flag saying whether or not the folder is an "outgoing" folder. (message_list_setup_etree): Ditto. Use that rather than a hardcoded list of foldernames for deciding whether to swap From and To in the default layout. * mail-config.c (mail_config_folder_to_cachename): Make IMAP folders have unique cachenames rather than only one per store, so that IMAP Sent and Drafts folders don't get forced into having the same layout as the INBOX. * mail-callbacks.c: (is_sent_folder, is_drafts_folder): Gone. Replaced with simpler folder_browser_is_* routines. (edit_msg, resend_msg, open_msg): Use folder_browser_is_* routines. * mail-local.c (reconfigure_clicked): Update call to message_list_set_folder. svn path=/trunk/; revision=9857
Diffstat (limited to 'mail/message-list.h')
-rw-r--r--mail/message-list.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/message-list.h b/mail/message-list.h
index a856396ecf..837b8d837f 100644
--- a/mail/message-list.h
+++ b/mail/message-list.h
@@ -101,7 +101,8 @@ typedef enum {
GtkType message_list_get_type (void);
GtkWidget *message_list_new (void);
void message_list_set_folder (MessageList *message_list,
- CamelFolder *camel_folder);
+ CamelFolder *camel_folder,
+ gboolean outgoing);
void message_list_foreach (MessageList *message_list,
MessageListForeachFunc callback,