Try to dynamically add some of the other tabs
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
048c4f4b32
commit
2107a4876e
15
main.go
15
main.go
|
@ -64,6 +64,21 @@ func main() {
|
||||||
|
|
||||||
go gui.DoGUI()
|
go gui.DoGUI()
|
||||||
|
|
||||||
|
//
|
||||||
|
// NOTE: This needs to be something long like 2 seconds.
|
||||||
|
// Not sure way. Otherwise it will hang GTK
|
||||||
|
//
|
||||||
|
log.Println("Sleep for 2 seconds, then try to add new tabs")
|
||||||
|
time.Sleep(2 * 1000 * 1000 * 1000)
|
||||||
|
gui.AddChoosersDemo()
|
||||||
|
|
||||||
|
/*
|
||||||
|
// THIS CRASHES FOR SOME REASON
|
||||||
|
log.Println("Sleep for 10 seconds, then try to add new tabs")
|
||||||
|
time.Sleep(10 * 1000 * 1000 * 1000)
|
||||||
|
gui.AddEntriesDemo()
|
||||||
|
*/
|
||||||
|
|
||||||
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(2 * 1000 * 1000 * 1000)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue