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:15:38 -0700 |
commit | a0ccab8e4235934538a03f8be3b37aa1bbd6b144 (patch) | |
tree | 1a231e9c5e7a05f893be07ae429f6d7704732500 | |
parent | 048ce00ea0d1d2744552942559aa1da2431ab954 (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 5ab615e8..5648d1df 100644 --- a/altosuilib/AltosUIConfigure.java +++ b/altosuilib/AltosUIConfigure.java @@ -268,7 +268,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++; |