mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Merge pull request #304 from anandsudhir/make-gcal-interactive
Make google calendar focussable
This commit is contained in:
commit
9f5a33d73c
@ -33,6 +33,7 @@ func (widget *Widget) display() {
|
||||
defer widget.mutex.Unlock()
|
||||
|
||||
_, timedEvents := widget.sortedEvents()
|
||||
widget.View.SetTitle(widget.ContextualTitle(widget.Name))
|
||||
widget.View.SetText(widget.contentFrom(timedEvents))
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,7 @@ type Widget struct {
|
||||
|
||||
func NewWidget() *Widget {
|
||||
widget := Widget{
|
||||
TextWidget: wtf.NewTextWidget("Calendar", "gcal", false),
|
||||
TextWidget: wtf.NewTextWidget("Calendar", "gcal", true),
|
||||
ch: make(chan struct{}),
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user