diff --git a/bin/nwg-drawer b/bin/nwg-drawer index 5384c51..b7320a6 100755 Binary files a/bin/nwg-drawer and b/bin/nwg-drawer differ diff --git a/main.go b/main.go index eb12765..c849ddf 100644 --- a/main.go +++ b/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 diff --git a/uicomponents.go b/uicomponents.go index f6b59d9..2e08be7 100644 --- a/uicomponents.go +++ b/uicomponents.go @@ -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 }