mirror of
https://github.com/nwg-piotr/nwg-drawer.git
synced 2024-08-16 17:20:22 +03:00
fix #38 @nightly-brew
This commit is contained in:
parent
94c94b8b1e
commit
6e76f49729
BIN
bin/nwg-drawer
BIN
bin/nwg-drawer
Binary file not shown.
2
main.go
2
main.go
@ -21,7 +21,7 @@ import (
|
||||
"github.com/gotk3/gotk3/gtk"
|
||||
)
|
||||
|
||||
const version = "0.2.2"
|
||||
const version = "0.2.3"
|
||||
|
||||
var (
|
||||
appDirs []string
|
||||
|
@ -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)
|
||||
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user