aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-07-24 15:21:15 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-07-24 15:21:15 +0800
commit0c43bcb20b82f8da6e6ffb71f85d27b251537e79 (patch)
tree2f3cbb1b59a87a5d0c03da7adb596d3906d8c788 /mail/mail-config.h
parent1080bf46a19e63965b11a93b4fe0ea2035fbd8a9 (diff)
downloadgsoc2013-evolution-0c43bcb20b82f8da6e6ffb71f85d27b251537e79.tar.gz
gsoc2013-evolution-0c43bcb20b82f8da6e6ffb71f85d27b251537e79.tar.zst
gsoc2013-evolution-0c43bcb20b82f8da6e6ffb71f85d27b251537e79.zip
Propagate name changes or removes to the mail config. #15951. Doesn't
2002-07-24 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (real_flush_updates): Propagate name changes or removes to the mail config. #15951. Doesn't enitrely work for local folders, because they are never renamed only removed and added thanks to the shell's api. * mail-config.c (mail_config_uri_renamed): If a store folder is renamed, this checks for any config that needs updating, so far sent and drafts folders. (mail_config_uri_deleted): Same, for deleted folders. svn path=/trunk/; revision=17568
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r--mail/mail-config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index b6dd15bd80..1e4699f773 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -274,6 +274,11 @@ const MailConfigIdentity *mail_config_get_default_identity (void);
const MailConfigService *mail_config_get_default_transport (void);
+/* uri's got changed by the store, etc */
+void mail_config_uri_renamed(GCompareFunc uri_cmp, const char *old, const char *new);
+void mail_config_uri_deleted(GCompareFunc uri_cmp, const char *uri);
+
+
GtkType evolution_mail_config_get_type (void);
/* convenience functions to help ease the transition over to the new codebase */