Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nwg-piotr committed Jan 9, 2022
1 parent 94c94b8 commit 6e76f49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Binary file modified bin/nwg-drawer
Binary file not shown.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/gotk3/gotk3/gtk"
)

const version = "0.2.2"
const version = "0.2.3"

var (
appDirs []string
Expand Down
6 changes: 6 additions & 0 deletions uicomponents.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ func setUpPinnedFlowBox() *gtk.FlowBox {
btn.Connect("enter-notify-event", func() {
statusLabel.SetText(entry.CommentLoc)
})
btn.Connect("focus-in-event", func() {
statusLabel.SetText(entry.CommentLoc)
})
flowBox.Add(btn)
}
pinnedFlowBoxWrapper.PackStart(flowBox, true, false, 0)
Expand Down Expand Up @@ -272,6 +275,9 @@ func flowBoxButton(entry desktopEntry) *gtk.Button {
button.Connect("enter-notify-event", func() {
statusLabel.SetText(desc)
})
button.Connect("focus-in-event", func() {
statusLabel.SetText(desc)
})
return button
}

Expand Down

0 comments on commit 6e76f49

Please sign in to comment.