diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-06 02:33:04 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-06 02:33:04 +0800 |
commit | a8a50b5085616775e176fd8836a94e81526059c8 (patch) | |
tree | 966439f3e8a7f063c03e419cb04f8af0fbf1b590 /mail/component-factory.c | |
parent | ffab9cc57fc148272da233de949b8bb726531d77 (diff) | |
download | gsoc2013-evolution-a8a50b5085616775e176fd8836a94e81526059c8.tar.gz gsoc2013-evolution-a8a50b5085616775e176fd8836a94e81526059c8.tar.zst gsoc2013-evolution-a8a50b5085616775e176fd8836a94e81526059c8.zip |
Updated to call post_to_url if the id is "post".
2002-08-05 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (user_create_new_item_cb): Updated to call
post_to_url if the id is "post".
* mail-callbacks.c (post_to_url): New function so that we don't
need a FolderBrowser to post a new message.
(post_message): Call post_to_url since they shared so much code.
svn path=/trunk/; revision=17698
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r-- | mail/component-factory.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c index e291c40bae..5a2651b789 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -825,8 +825,11 @@ user_create_new_item_cb (EvolutionShellComponent *shell_component, if (!strcmp (id, "message")) { send_to_url (NULL); return; - } - + } else if (!strcmp (id, "post")) { + post_to_url (parent_folder_physical_uri); + return; + } + g_warning ("Don't know how to create item of type \"%s\"", id); } |