aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.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/mail-local.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/mail-local.c')
-rw-r--r--mail/mail-local.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index 9d7b022617..010ea12eec 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -1120,9 +1120,12 @@ non_hash (gconstpointer key)
}
static gint
-non_equal (gconstpointer a, gconstpointer b)
+non_equal (gconstpointer ap, gconstpointer bp)
{
- return TRUE;
+ const CamelURL *a = ap, *b = bp;
+
+ return strcmp(a->protocol, "file") == 0
+ && strcmp(a->protocol, b->protocol) == 0;
}
static void