From: Keith Packard Date: Wed, 25 Jun 2014 03:15:38 +0000 (-0700) Subject: altosuilib: Mark 'Configure AltosUI' window with maps key status X-Git-Tag: 1.4.9.1~32^2 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=a0ccab8e4235934538a03f8be3b37aa1bbd6b144 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 --- 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++;