doesn't crash again
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
5067224fc8
commit
c1e3a3b303
|
@ -14,12 +14,13 @@ func makeCloudInfoBox(gw *gui.GuiWindow) {
|
||||||
|
|
||||||
gui.NewLabel(box, "Hostname:")
|
gui.NewLabel(box, "Hostname:")
|
||||||
|
|
||||||
gui.HardHorizontalBreak(box)
|
box = gui.HardHorizontalBox(gw)
|
||||||
|
|
||||||
tmp := gui.Data.Hostname + " (" + gui.Data.IPv6 + ")"
|
tmp := gui.Data.Hostname + " (" + gui.Data.IPv6 + ")"
|
||||||
gui.MakeEntryHbox(box, "hostname:", tmp, true, "Hostname")
|
gui.MakeEntryHbox(box, "hostname:", tmp, true, "Hostname")
|
||||||
|
|
||||||
for key, a := range config.Accounts {
|
for key, a := range config.Accounts {
|
||||||
|
gui.HardVerticalBreak(box)
|
||||||
log.Println("account = ", key, a)
|
log.Println("account = ", key, a)
|
||||||
log.Println("Accounts[key] = ", config.Accounts[key])
|
log.Println("Accounts[key] = ", config.Accounts[key])
|
||||||
log.Println("account.Nick = ", config.Accounts[key].Nick)
|
log.Println("account.Nick = ", config.Accounts[key].Nick)
|
||||||
|
|
|
@ -71,12 +71,12 @@ func splashClick(b *gui.GuiButton) {
|
||||||
}
|
}
|
||||||
// if there is not an account, then go to 'make account'
|
// if there is not an account, then go to 'make account'
|
||||||
gw.MakeWindow = addSubdomainQuestionBox
|
gw.MakeWindow = addSubdomainQuestionBox
|
||||||
gw = gui.ShowTab(gw, "Box2", "New Account?")
|
gw = gui.ShowTab(gw, "Box22", "New Account?")
|
||||||
}
|
}
|
||||||
|
|
||||||
func addSubdomainQuestionBox(gw *gui.GuiWindow) *gui.GuiBox {
|
func addSubdomainQuestionBox(gw *gui.GuiWindow) *gui.GuiBox {
|
||||||
log.Println("addSubdomainQuestionBox() START")
|
log.Println("addSubdomainQuestionBox() START")
|
||||||
box := gui.AddGenericBox(gw)
|
box := gui.AddGenericBox(gw, "addSubdomainQuestion")
|
||||||
|
|
||||||
gui.NewLabel(box, "Enter your Subdomain or")
|
gui.NewLabel(box, "Enter your Subdomain or")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue