delete splash works

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2019-06-13 15:57:27 -07:00
parent b4d4f65100
commit db7d9b8de7
4 changed files with 4 additions and 3 deletions

View File

@ -70,7 +70,7 @@ func debugClick(b *gui.GuiButton) {
})
makeButton(Ybox2, nil, nil, "Destroy Splash", "SUBDOMAIN", func (*gui.GuiButton) {
log.Println("debugClick() Destroy(0)")
gui.DeleteWindow("Cloud Accounts")
gui.DeleteWindow("Splash")
})
makeButton(Ybox2, nil, nil, "Load the default test config file", "SUBDOMAIN", func (*gui.GuiButton) {

View File

@ -17,7 +17,7 @@ func showSplashBox(box *gui.GuiBox) *gui.GuiBox {
// TODO: turn 'Welcome' into a i18n for translations
text := getNEWTEXT()
gui.ShowTextBox(box, text, splashClick, "Welcome")
// box.Window.UiWindow.SetTitle("Splash")
box.Window.UiWindow.SetTitle("Cloud Control Panel")
gui.HorizontalBreak(box)
gui.NewLabel(box, "jcarr test2")

View File

@ -155,7 +155,7 @@ func main() {
// make this the main loop in an attempt to figure out the crashes
// do not change this until the GUI is stable
gui.StartNewWindow(false, "Cloud Control Panel", gui.Yaxis, showSplashBox)
gui.StartNewWindow(false, "Splash", gui.Yaxis, showSplashBox)
if (os.Getenv("DISPLAY") == "") {
log.Println("gui.StartNewWindow() END DISPLAY =", os.Getenv("DISPLAY"))
log.Println("gui.StartNewWindow() Probably this died because your DISPLAY is not set")

1
resources/tags/v0.6.32 Normal file
View File

@ -0,0 +1 @@
b7661667d18b33fa7fddd8e95e1233185e398930