aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorleon.zhang <leon.zhang@sun.com>2003-01-24 12:59:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-01-24 12:59:36 +0800
commit09e6aacd2d5af2573cd9640e20df02067231b697 (patch)
treedc46b022ed5c6a5bfb6f73ae28e7419d512fd33e /mail/component-factory.c
parente296988648aea5a9bbecba60a0266ade7a483d92 (diff)
downloadgsoc2013-evolution-09e6aacd2d5af2573cd9640e20df02067231b697.tar
gsoc2013-evolution-09e6aacd2d5af2573cd9640e20df02067231b697.tar.gz
gsoc2013-evolution-09e6aacd2d5af2573cd9640e20df02067231b697.tar.bz2
gsoc2013-evolution-09e6aacd2d5af2573cd9640e20df02067231b697.tar.lz
gsoc2013-evolution-09e6aacd2d5af2573cd9640e20df02067231b697.tar.xz
gsoc2013-evolution-09e6aacd2d5af2573cd9640e20df02067231b697.tar.zst
gsoc2013-evolution-09e6aacd2d5af2573cd9640e20df02067231b697.zip
transfer the current acount info, which will be regarded as the sender of
2002-12-07 leon.zhang <leon.zhang@sun.com> * component-factory.c (user_create_new_item_cb): transfer the current acount info, which will be regarded as the sender of new composer, to send_to_url(). * mail-callbacks.h (send_to_url): Add a new parameter for parent folder uri. * mail-callbacks.c (send_to_url): Create composer base on source account info from parent folder physical uri. (post_to_url): create composer based on current account from parent folder physical uri. * mail-display.c (on_link_clicked): Apply new format of function: send_to_url. Fixes bug #35123 #35289 2003-01-24 Not Zed <NotZed@Ximian.com> * mail-local.c (non_equal): We do actually need to check they are file url's, otherwise, all url's match. svn path=/trunk/; revision=19611
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 9a2a5e2089..ef655c3d90 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -869,7 +869,7 @@ handle_external_uri_cb (EvolutionShellComponent *shell_component,
/* FIXME: Sigh. This shouldn't be here. But the code is messy, so
I'll just put it here anyway. */
- send_to_url (uri);
+ send_to_url (uri, NULL);
}
static void
@@ -880,7 +880,7 @@ user_create_new_item_cb (EvolutionShellComponent *shell_component,
gpointer data)
{
if (!strcmp (id, "message")) {
- send_to_url (NULL);
+ send_to_url (NULL, parent_folder_physical_uri);
return;
} else if (!strcmp (id, "post")) {
post_to_url (parent_folder_physical_uri);