diff options
author | Dan Winship <danw@src.gnome.org> | 2001-05-17 05:40:52 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-05-17 05:40:52 +0800 |
commit | 7031a911d71eb1f527f8ff9336f050679a7b74f9 (patch) | |
tree | 1c05b828c60c41dd40a97f39a5940c75dc0c2d17 /mail/mail-local.c | |
parent | d8fcf587007ce67a1eda2b036599ac3f7e643af9 (diff) | |
download | gsoc2013-evolution-7031a911d71eb1f527f8ff9336f050679a7b74f9.tar.gz 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/mail-local.c')
-rw-r--r-- | mail/mail-local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c index 960288e6e7..e6167b812d 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -997,7 +997,7 @@ reconfigure_clicked (GnomeDialog *dialog, int button, struct _reconfigure_msg *m char *types[] = { "mbox", "maildir", "mh" }; /* hack to clear the message list during update */ - message_list_set_folder (m->fb->message_list, NULL); + message_list_set_folder (m->fb->message_list, NULL, FALSE); menu = gtk_option_menu_get_menu (m->optionlist); type = g_list_index (GTK_MENU_SHELL (menu)->children, |