Process episode list selection changes every 250ms.
commit6c7337f5fbd383e34b43170d5588a060b6b6dd12
authorauouymous <au@qzx.com>
Sun, 18 Dec 2022 00:49:42 +0000 (17 17:49 -0700)
committerauouymous <au@qzx.com>
Tue, 3 Jan 2023 13:01:15 +0000 (3 06:01 -0700)
tree74b70170f9b0f701437cd03d45257d39c1a9ad84
parente1fc290ef2bfaf7a81cb34fba68383704e624b55
Process episode list selection changes every 250ms.

A fast key repeat rate can cause on_episode_list_selection_changed to be
called quicker than it can update the UI. This slows down
shift-selections and results in continued processing long after the key
has been released.

The 250ms timer batches multiple events into a single update, and
improves responsiveness on slower machines.
src/gpodder/gtkui/main.py