From c1ffcc4af4c9d2fa7c50efe0cf6dc239a5e8610a Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 1 Apr 2003 17:17:06 +0000 Subject: [#40590] 2003-04-02 Not Zed [#40590] * e-config-upgrade.c (identity_map[]): Move the signature stuff to a child node. (identity_sig_map[]): Define the signature node. Fix *autogenerated_signature_%i to map to "auto". svn path=/trunk/; revision=20615 --- shell/e-config-upgrade.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'shell/e-config-upgrade.c') diff --git a/shell/e-config-upgrade.c b/shell/e-config-upgrade.c index 2cbcad315b..a3f8e32573 100644 --- a/shell/e-config-upgrade.c +++ b/shell/e-config-upgrade.c @@ -642,13 +642,18 @@ struct _map_table smime_map[] = { { NULL }, }; +struct _map_table identity_sig_map[] = { + { "identity_autogenerated_signature_%i", "auto", MAP_BOOL }, + { "identity_def_signature_%i", "default", MAP_LONG }, + { NULL }, +}; + struct _map_table identity_map[] = { { "identity_name_%i", "name", MAP_STRING|MAP_CONTENT }, { "identity_address_%i", "addr-spec", MAP_STRING|MAP_CONTENT }, { "identity_reply_to_%i", "reply-to", MAP_STRING|MAP_CONTENT }, { "identity_organization_%i", "organization", MAP_STRING|MAP_CONTENT }, - { "identity_autogenerated_signature_%i", "signature", MAP_BOOL }, - { "identity_def_signature_%i", "default", MAP_LONG }, + { NULL, "signature", MAP_CHILD, identity_sig_map }, { NULL }, }; -- cgit v1.2.3