From 83b2972a13a5351619f8f2fc35837dd692a9bf33 Mon Sep 17 00:00:00 2001 From: cketti Date: Wed, 30 Mar 2011 04:23:54 +0200 Subject: [PATCH] Rename "settings" tag to "global" for global settings (export) --- src/com/fsck/k9/preferences/StorageExporter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/com/fsck/k9/preferences/StorageExporter.java b/src/com/fsck/k9/preferences/StorageExporter.java index 01a2625a1..b3208b981 100644 --- a/src/com/fsck/k9/preferences/StorageExporter.java +++ b/src/com/fsck/k9/preferences/StorageExporter.java @@ -26,6 +26,7 @@ public class StorageExporter { private static final String ROOT_ELEMENT = "k9settings"; private static final String VERSION_ATTRIBUTE = "version"; + private static final String GLOBAL_ELEMENT = "global"; private static final String SETTINGS_ELEMENT = "settings"; private static final String ACCOUNTS_ELEMENT = "accounts"; private static final String ACCOUNT_ELEMENT = "account"; @@ -95,9 +96,9 @@ public class StorageExporter { Map prefs = storage.getAll(); if (includeGlobals) { - serializer.startTag(null, SETTINGS_ELEMENT); + serializer.startTag(null, GLOBAL_ELEMENT); writeSettings(serializer, prefs); - serializer.endTag(null, SETTINGS_ELEMENT); + serializer.endTag(null, GLOBAL_ELEMENT); } serializer.startTag(null, ACCOUNTS_ELEMENT);