From 237472e1b98283a82c674bb48c0347189d9d37bf Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 24 Jun 2014 20:15:38 -0700 Subject: [PATCH] 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 --- altosuilib/AltosUIConfigure.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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++; -- 2.30.2