linuxmint / hypnotix

An M3U IPTV Player
1.26k stars 169 forks source link

Add a basic global search box #157

Closed lulol closed 3 years ago

lulol commented 3 years ago

Add a basic global search box for current active_provider channels adapted from @hect-dpr #65

Search text should be now case and diacritic insensitive.

clefebvre commented 3 years ago

It works well and it's badly needed :)

I don't like the way it's in the headerbar. I would prefer a toggle search button in the headerbar which would reveal a toolbar with the search field underneath instead.

I'm merging as is though since we're far away from the release and it's working well. Thanks for this PR.

lulol commented 3 years ago

Agreed. It looked ugly and was a bit confusing. Just left the GtkSearchEntry as suggested by @Axel-Erfurt because with it had the added functionality of the clear button that is useful.

Have added code to toggle the search box visibility and is hidden by default. #165