From 5775e40780904a12b304d09badce009cd64a6c0b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 23 May 2019 11:03:26 -0700 Subject: [PATCH] fix QUIT Signed-off-by: Jeff Carr --- addAccount.go | 4 ++-- area.go | 2 +- infoTabUI.go | 2 ++ splash.go | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/addAccount.go b/addAccount.go index 1c61d22..e90e5be 100644 --- a/addAccount.go +++ b/addAccount.go @@ -9,12 +9,12 @@ func AddAccountQuestionBox(junk *ui.Box, custom func(int, string)) *ui.Box { newbox := ui.NewVerticalBox() newbox.SetPadded(true) - newButton := CreateButton("Create New Account", "CLOSE", custom) + newButton := CreateButton("Create New Account", "DONE", custom) newbox.Append(newButton, false) newbox.Append(ui.NewHorizontalSeparator(), false) - okButton := CreateButton("I Have an Account", "CLOSE", custom) + okButton := CreateButton("I Have an Account", "DONE", custom) newbox.Append(okButton, false) return newbox diff --git a/area.go b/area.go index 2c48cc9..c051a46 100644 --- a/area.go +++ b/area.go @@ -14,7 +14,7 @@ func areaClick(a int, b string) { func makeSplashArea(custom func(int, string)) *ui.Area { // make this button just to get the default font (but don't display the button) // There should be another way to do this (?) - Data.fontButton = CreateFontButton("SplashFont", "CLOSE", custom) + Data.fontButton = CreateFontButton("SplashFont", "DONE", custom) makeAttributedString() Data.splashArea = ui.NewArea(myAH) diff --git a/infoTabUI.go b/infoTabUI.go index 8b78770..4f7306d 100644 --- a/infoTabUI.go +++ b/infoTabUI.go @@ -30,6 +30,8 @@ func makeCloudInfoBox(custom func(int, string)) *ui.Box { vbox.Append(CreateButton("Add Account", "ADD", custom), false) + vbox.Append(CreateButton("Quit", "QUIT", custom), false) + if (config.String("debugging") == "true") { addDebuggingButtons(vbox, custom) } diff --git a/splash.go b/splash.go index db30f78..035b5ad 100644 --- a/splash.go +++ b/splash.go @@ -39,7 +39,7 @@ func ShowSplashBox(vbox *ui.Box, atest chan int, custom func(int, string)) *ui.B newbox.Append(ui.NewLabel(tmp), false) } - okButton := CreateButton("OK", "CLOSE", custom) + okButton := CreateButton("OK", "DONE", custom) newbox.Append(okButton, false) if (vbox != nil) {