Skip to content

Commit

Permalink
Merge pull request #304 from anandsudhir/make-gcal-interactive
Browse files Browse the repository at this point in the history
Make google calendar focussable
  • Loading branch information
anandsudhir authored Aug 22, 2018
2 parents d5017cd + 49f77b9 commit 9f5a33d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gcal/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

Expand Down
2 changes: 1 addition & 1 deletion gcal/widget.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}),
}

Expand Down

0 comments on commit 9f5a33d

Please sign in to comment.