summaryrefslogtreecommitdiff
path: root/libnotify.go
diff options
context:
space:
mode:
Diffstat (limited to 'libnotify.go')
-rw-r--r--libnotify.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/libnotify.go b/libnotify.go
index 58ce3b3..01e4305 100644
--- a/libnotify.go
+++ b/libnotify.go
@@ -52,15 +52,14 @@ func makeNewInternalWidget(wId int) *guiWidget {
return tk
}
-func makeClock(wId int) {
+func makeNotifyClock(wId int) {
if me.treeRoot == nil {
log.Info("gogui makeClock() error. treeRoot == nil")
return
}
me.notify.clock.tk = makeNewInternalWidget(wId)
me.notify.clock.tk.dumpWidget("init() clock")
- w, h := me.baseGui.MousePosition()
- me.notify.clock.tk.MoveToOffset(w, h)
+ me.notify.clock.tk.MoveToOffset(0, 0)
me.notify.clock.tk.labelN = time.Now().Format("15:04:05")
me.notify.clock.tk.frame = false
me.notify.clock.tk.setColorLabel()
@@ -151,7 +150,7 @@ func setBottomBG() {
return
}
tk := me.BG.tk
- log.Info("found BG. setting to bottom", tk.cuiName)
+ // log.Info("found BG. setting to bottom", tk.cuiName)
if tk.v == nil {
w, h := me.baseGui.Size()
a := -1