diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-24 20:15:38 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-24 20:16:21 -0700 |
commit | 237472e1b98283a82c674bb48c0347189d9d37bf (patch) | |
tree | 53dc1087dd6913c556f4bcb67e77e36f8f92c388 | |
parent | 0da9cdfbeacbaed13615ca2daade372920299c4a (diff) |
altosuilib: Mark 'Configure AltosUI' window with maps key status
This lets us check a build to make sure it has a maps key
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | altosuilib/AltosUIConfigure.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/altosuilib/AltosUIConfigure.java b/altosuilib/AltosUIConfigure.java index 920ed8e2..0e82cacb 100644 --- a/altosuilib/AltosUIConfigure.java +++ b/altosuilib/AltosUIConfigure.java @@ -243,7 +243,9 @@ public class AltosUIConfigure constraints(0, 3)); row++; - pane.add(new JLabel (String.format("AltOS version %s", AltosUIVersion.version)), + pane.add(new JLabel (String.format("AltOS version %s (%smaps key)", + AltosUIVersion.version, + AltosUIVersion.has_google_maps_api_key() ? "" : "no ")), constraints(0, 3)); row++; |