delete splash works
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
b4d4f65100
commit
db7d9b8de7
|
@ -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) {
|
||||
|
|
|
@ -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")
|
||||
|
|
2
main.go
2
main.go
|
@ -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")
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
b7661667d18b33fa7fddd8e95e1233185e398930
|
Loading…
Reference in New Issue