aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-browser.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-09-26 05:41:53 +0800
committerDan Winship <danw@src.gnome.org>2002-09-26 05:41:53 +0800
commitfaf4db97fab2375f9b13c35b95702eacf590eec4 (patch)
treedf32c78f8af34b5277a8b03f512e811de6806f41 /mail/message-browser.c
parentc56047966f0d46eb2d62e4e4e5ef73e1f464d0b4 (diff)
downloadgsoc2013-evolution-faf4db97fab2375f9b13c35b95702eacf590eec4.tar
gsoc2013-evolution-faf4db97fab2375f9b13c35b95702eacf590eec4.tar.gz
gsoc2013-evolution-faf4db97fab2375f9b13c35b95702eacf590eec4.tar.bz2
gsoc2013-evolution-faf4db97fab2375f9b13c35b95702eacf590eec4.tar.lz
gsoc2013-evolution-faf4db97fab2375f9b13c35b95702eacf590eec4.tar.xz
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/message-browser.c')
-rw-r--r--mail/message-browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/message-browser.c b/mail/message-browser.c
index 12dace6e88..1b44f0934b 100644
--- a/mail/message-browser.c
+++ b/mail/message-browser.c
@@ -115,7 +115,7 @@ transfer_msg_done (gboolean ok, void *data)
static void
transfer_msg (MessageBrowser *mb, int del)
{
- const char *allowed_types[] = { "mail", "vtrash", NULL };
+ const char *allowed_types[] = { "mail/*", "vtrash", NULL };
extern EvolutionShellClient *global_shell_client;
GNOME_Evolution_Folder *folder;
static char *last_uri = NULL;