try a table with 700 rows. very fast.
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
2107a4876e
commit
76bf66e1f9
8
main.go
8
main.go
|
@ -69,9 +69,13 @@ func main() {
|
||||||
// Not sure way. Otherwise it will hang GTK
|
// Not sure way. Otherwise it will hang GTK
|
||||||
//
|
//
|
||||||
log.Println("Sleep for 2 seconds, then try to add new tabs")
|
log.Println("Sleep for 2 seconds, then try to add new tabs")
|
||||||
time.Sleep(2 * 1000 * 1000 * 1000)
|
time.Sleep(1 * 1000 * 1000 * 1000)
|
||||||
gui.AddChoosersDemo()
|
gui.AddChoosersDemo()
|
||||||
|
|
||||||
|
log.Println("Sleep for 2 seconds, then try to add new tabs")
|
||||||
|
time.Sleep(1 * 1000 * 1000 * 1000)
|
||||||
|
gui.AddTableTab("jcarr", 7, "fire")
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// THIS CRASHES FOR SOME REASON
|
// THIS CRASHES FOR SOME REASON
|
||||||
log.Println("Sleep for 10 seconds, then try to add new tabs")
|
log.Println("Sleep for 10 seconds, then try to add new tabs")
|
||||||
|
@ -90,7 +94,7 @@ func main() {
|
||||||
hostname := config.String("cloud." + account + ".hostname")
|
hostname := config.String("cloud." + account + ".hostname")
|
||||||
fmt.Println(hostname, port, proto)
|
fmt.Println(hostname, port, proto)
|
||||||
gui.AddTableTab(account, rows, hostname)
|
gui.AddTableTab(account, rows, hostname)
|
||||||
rows += 4
|
rows = 700
|
||||||
log.Println("Sleep for 10 seconds, then add next table")
|
log.Println("Sleep for 10 seconds, then add next table")
|
||||||
time.Sleep(10 * 1000 * 1000 * 1000)
|
time.Sleep(10 * 1000 * 1000 * 1000)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue