summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-03 15:00:27 -0600
committerJeff Carr <[email protected]>2025-03-03 15:00:27 -0600
commit5e6d7cffdf56e478b10cc1061ca3e642d2e5e556 (patch)
tree21cf6ce49f653da6bd05d1c42168a6b7cad3bd98 /init.go
parent76e15fa1df21d1d37a294983184a6a1df6812e07 (diff)
clock works again
Diffstat (limited to 'init.go')
-rw-r--r--init.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/init.go b/init.go
index e25e0ce..2c1d0fc 100644
--- a/init.go
+++ b/init.go
@@ -52,6 +52,10 @@ func toolkitInit() {
// SETUP HELP END
// SETUP STDOUT START
+ if me.stdout.tk == nil {
+ makeOutputWidget(me.baseGui, "from setThingsOnTop()")
+ }
+
time.Sleep(300 * time.Millisecond)
log.Info("gocui toolkitInit() me.ok =", me.ok)
me.baseGui.Update(testRefresh)
@@ -72,10 +76,7 @@ func toolkitInit() {
// SETUP libnotify
makeNotifyClock(me.notify.clock.wId)
-
- if me.stdout.tk == nil {
- makeOutputWidget(me.baseGui, "from setThingsOnTop()")
- }
+ makeNotifyMenu(me.notify.menu.wId)
// PUT INIT DEBUG COOE HERE
var toggle bool