diff --git a/main.go b/main.go index e92d08f..f5c338a 100644 --- a/main.go +++ b/main.go @@ -64,6 +64,21 @@ func main() { 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") time.Sleep(2 * 1000 * 1000 * 1000)