git://git.nikiroo.be
/
fanfix-swing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4d29a
)
no updated dialog for kiosk, nor for touch mode until we can fit it in
author
Niki Roo
<niki@nikiroo.be>
Thu, 7 May 2020 09:41:56 +0000
(11:41 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Thu, 7 May 2020 09:41:56 +0000
(11:41 +0200)
src/be/nikiroo/fanfix_swing/Main.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/fanfix_swing/Main.java
b/src/be/nikiroo/fanfix_swing/Main.java
index ea61240eb34db2b1014240007f1c1e07ab0b963d..4ec6c2bd0c6aefdb4beb6d812a4bc34a4968cc8c 100644
(file)
--- a/
src/be/nikiroo/fanfix_swing/Main.java
+++ b/
src/be/nikiroo/fanfix_swing/Main.java
@@
-65,6
+65,12
@@
public class Main extends be.nikiroo.fanfix.Main {
@Override
protected VersionCheck checkUpdates() {
+ // Kiosk mode should not want to know that
+ // Touch mode: TODO get an adapted update message (setInfo, setError?)
+ if (kiosk || touch) {
+ return null;
+ }
+
// We use a SwingWorker instead of deferring to checkUpdates("...")
// So we can check in BG
new SwingWorker<VersionCheck, Void>() {