From 499cb309e8622312059ad73729e41c9838956f06 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 5 Feb 2021 17:07:54 +0000 Subject: [PATCH] =?utf8?q?JAL-3746=20JAL-3814=20don=E2=80=99t=20automaticall?= =?utf8?q?y=20launch=20the=20news=20browser=20when=20the=20desktop=20is=20fi?= =?utf8?q?rst=20opened?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/gui/BlogReader.java | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/jalview/gui/BlogReader.java b/src/jalview/gui/BlogReader.java index 3dc51ce..fb7d7c5 100644 --- a/src/jalview/gui/BlogReader.java +++ b/src/jalview/gui/BlogReader.java @@ -273,13 +273,16 @@ public class BlogReader extends JPanel initItems(chan); updating = false; - boolean setvisible = checkForNew(chan, true); - - if (setvisible) + if (!Cache.getDefault("NONEWS", false)) { + boolean setvisible = checkForNew(chan, true); + + if (setvisible) + { - Console.debug("Will show jalview news automatically"); - showNews(); + Console.debug("Will show jalview news automatically"); + showNews(); + } } Console.debug("Completed construction of reader."); -- 1.7.10.2