git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec45a7f
)
JAL-3746 JAL-3814 don’t automatically launch the news browser when the desktop is...
author
Jim Procter
<jprocter@issues.jalview.org>
Fri, 5 Feb 2021 17:07:54 +0000
(17:07 +0000)
committer
Jim Procter
<j.procter@dundee.ac.uk>
Fri, 4 Mar 2022 16:07:19 +0000
(16:07 +0000)
src/jalview/gui/BlogReader.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/BlogReader.java
b/src/jalview/gui/BlogReader.java
index
3dc51ce
..
fb7d7c5
100644
(file)
--- 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.");