aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-01-17 03:41:56 +0800
committerDan Winship <danw@src.gnome.org>2003-01-17 03:41:56 +0800
commit80940eeebd7318d62e8c690a7f7bf70f7cfe3eab (patch)
treeed61f4459601c1a73d0dc25e107f83695480309b /mail/mail-config.h
parent2596671b8712915820d2590c86a429257ee2d8f7 (diff)
downloadgsoc2013-evolution-80940eeebd7318d62e8c690a7f7bf70f7cfe3eab.tar.gz
gsoc2013-evolution-80940eeebd7318d62e8c690a7f7bf70f7cfe3eab.tar.zst
gsoc2013-evolution-80940eeebd7318d62e8c690a7f7bf70f7cfe3eab.zip
Add a UID field (to match EAccount), which never changes and can be used
* mail-config.h (MailConfigAccount): Add a UID field (to match EAccount), which never changes and can be used by gconf watchers to distinguish an account rename from a deletion and creation. * mail-config.c (account_copy): Create a new UID on the new account. (account_new_from_xml): Read the UID. (If it doesn't have one, make one.) (account_to_xml): Write the UID. * mail-config-druid.c (make_account): add a UID to each account svn path=/trunk/; revision=19496
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r--mail/mail-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index 79a6414f91..970c718777 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -59,6 +59,7 @@ typedef struct {
typedef struct {
char *name;
+ char *uid;
gboolean enabled;