dbus-notify
Zlatin Balevsky 2022-08-19 11:50:57 +01:00
parent 01a1803283
commit 0298a1c893
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ class MainFrameView {
void initUI() { void initUI() {
boolean dosableUpdates = false boolean disableUpdates = false
if (System.getProperties().containsKey("disableUpdates")) if (System.getProperties().containsKey("disableUpdates"))
disableUpdates = Boolean.parseBoolean(System.getProperty("disableUpdates")) disableUpdates = Boolean.parseBoolean(System.getProperty("disableUpdates"))
@ -748,7 +748,7 @@ class MainFrameView {
panel (border: etchedBorder(), constraints : BorderLayout.SOUTH) { panel (border: etchedBorder(), constraints : BorderLayout.SOUTH) {
borderLayout() borderLayout()
panel (constraints : BorderLayout.WEST) { panel (constraints : BorderLayout.WEST) {
if (!dosableUpdates) { if (!disableUpdates) {
button(text: "", icon: imageIcon('/update.png'), toolTipText: trans("TOOLTIP_UPDATE"), button(text: "", icon: imageIcon('/update.png'), toolTipText: trans("TOOLTIP_UPDATE"),
enabled: bind { model.updateAvailableEvent != null || model.updateDownloadedEvent != null }, enabled: bind { model.updateAvailableEvent != null || model.updateDownloadedEvent != null },
showUpdateAction) showUpdateAction)