From 8fadcd85d251318897ad090654e3bd83fc9afa62 Mon Sep 17 00:00:00 2001
From: Fredrik Larsson <hayvosh@gmail.com>
Date: Sun, 8 Dec 2013 03:28:32 +1100
Subject: [PATCH] Rename GCS Configuration, check it to be removed by default

---
 package/winx86/openpilotgcs.nsi            | 4 ++--
 package/winx86/translations/strings_en.nsh | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/winx86/openpilotgcs.nsi b/package/winx86/openpilotgcs.nsi
index db6fcf7eb..c0ffdb797 100644
--- a/package/winx86/openpilotgcs.nsi
+++ b/package/winx86/openpilotgcs.nsi
@@ -368,8 +368,8 @@ Section "un.Maps cache" UnSecCache
   RMDir /r /rebootok "$APPDATA\OpenPilot\mapscache"
 SectionEnd
 
-Section /o "un.Configuration" UnSecConfig
-  ; Remove configuration
+Section "un.GCS Layout" UnSecConfig
+  ; Remove GCS configuration files
   SetShellVarContext current
   Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS*.db"
   Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS*.xml"
diff --git a/package/winx86/translations/strings_en.nsh b/package/winx86/translations/strings_en.nsh
index e8aa794b0..efa553d3e 100644
--- a/package/winx86/translations/strings_en.nsh
+++ b/package/winx86/translations/strings_en.nsh
@@ -42,4 +42,4 @@
 
   LangString DESC_UnSecProgram ${LANG_ENGLISH} "OpenPilot GCS application and all components."
   LangString DESC_UnSecCache ${LANG_ENGLISH} "OpenPilot GCS cached maps data."
-  LangString DESC_UnSecConfig ${LANG_ENGLISH} "OpenPilot GCS configuration files."
+  LangString DESC_UnSecConfig ${LANG_ENGLISH} "OpenPilot GCS layout files."