update comments

This commit is contained in:
piotr
2024-12-01 01:13:10 +01:00
parent a752be7434
commit 2136a6165c
2 changed files with 2 additions and 2 deletions

View File

@@ -773,7 +773,7 @@ func restoreStateAndHide() {
// clear search
searchEntry.SetText("")
// clear category filter (in gotk3 it means: rebuild, as we have no filtering here)
// One day or another we'll add SetFilterFunction here; it was impossible on the gotk3 library
appFlowBox = setUpAppsFlowBox(nil, "")
for _, btn := range catButtons {
btn.SetImagePosition(gtk.PosLeft)

View File

@@ -136,7 +136,7 @@ func setUpCategoriesButtonBox() *gtk.EventBox {
b := *button
button.Connect("clicked", func(item *gtk.Button) {
searchEntry.SetText("")
// !!! since gotk3 FlowBox type does not implement set_filter_func, we need to rebuild appFlowBox
// One day or another we'll add SetFilterFunction here; it was impossible on the gotk3 library
appFlowBox = setUpAppsFlowBox(lists[name], "")
for _, btn := range catButtons {
btn.SetImagePosition(gtk.PosLeft)