summaryrefslogtreecommitdiff
path: root/tabWindow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2019-05-22 20:49:28 -0700
committerJeff Carr <[email protected]>2019-05-22 20:49:28 -0700
commit0960f2a7445550ebded7abed1c340c4b3485b2a8 (patch)
tree832c8becd530c89057cc918f18511d83c7da0483 /tabWindow.go
parent6984b0dbc06e2972f7847974fca1b8d8b59e60de (diff)
move the 'main' tab here
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'tabWindow.go')
-rw-r--r--tabWindow.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/tabWindow.go b/tabWindow.go
index 72e4109..d63cc8e 100644
--- a/tabWindow.go
+++ b/tabWindow.go
@@ -42,6 +42,17 @@ func ShowAccountTab() {
Data.cloudTab.SetMargined(0, true)
}
+func ShowMainTab() {
+ Data.cloudTab.Delete(0)
+
+ log.Println("Sleep(1000)")
+ time.Sleep(1000 * time.Millisecond)
+
+ Data.smallBox = makeCloudInfoBox(buttonClick)
+ Data.cloudTab.InsertAt("Main", 0, Data.smallBox)
+ Data.cloudTab.SetMargined(0, true)
+}
+
func GoMainWindow() {
ui.Main(makeCloudWindow)
}