diff --git a/main.go b/main.go index bfd7b9c..4f35c92 100644 --- a/main.go +++ b/main.go @@ -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) diff --git a/uicomponents.go b/uicomponents.go index e0592c9..ea51307 100644 --- a/uicomponents.go +++ b/uicomponents.go @@ -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)