diff options
author | Dan Winship <danw@src.gnome.org> | 2002-09-26 05:41:53 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-09-26 05:41:53 +0800 |
commit | faf4db97fab2375f9b13c35b95702eacf590eec4 (patch) | |
tree | df32c78f8af34b5277a8b03f512e811de6806f41 /mail/mail-account-gui.c | |
parent | c56047966f0d46eb2d62e4e4e5ef73e1f464d0b4 (diff) | |
download | gsoc2013-evolution-faf4db97fab2375f9b13c35b95702eacf590eec4.tar.gz gsoc2013-evolution-faf4db97fab2375f9b13c35b95702eacf590eec4.tar.zst gsoc2013-evolution-faf4db97fab2375f9b13c35b95702eacf590eec4.zip |
add "mail/public". Leave "vtrash" as it is rather than renaming it to
* component-factory.c (folder_types): add "mail/public". Leave
"vtrash" as it is rather than renaming it to "mail/vtrash",
because we want it to behave differently from normal mail folders
more often than we want it to behave the same.
(type_is_mail, type_is_vtrash): utility funcs
(create_view, create_folder, remove_folder, xfer_folder,
populate_folder_context_menu, unpopulate_folder_context_menu,
destination_folder_handle_drop, storage_create_folder): Use
type_is_mail/type_is_vtrash.
(create_component): Register "New Post" with "mail/public" instead
of "mail" so it becomes the default New icon for it. (29024)
* mail-callbacks.c (transfer_msg): Use "mail/*" for allowed type.
* message-browser.c (transfer_msg): Likewise.
* mail-account-gui.c (mail_account_gui_new): Use "mail/*" instead
of "mail" here for sent/drafts allowed type. (?)
svn path=/trunk/; revision=18223
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r-- | mail/mail-account-gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index 4bed19d082..9560b0dc42 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -1365,7 +1365,7 @@ prepare_signatures (MailAccountGui *gui) MailAccountGui * mail_account_gui_new (MailConfigAccount *account, MailAccountsTab *dialog) { - const char *allowed_types[] = { "mail", NULL }; + const char *allowed_types[] = { "mail/*", NULL }; MailAccountGui *gui; GtkWidget *button; |