fix: dropdown callbacks, singleton about dialog, config-driven settings sidebar, switcher cache eviction

This commit is contained in:
sankalp committed 2026-08-01 20:03:46 +05:45
1 parent 456545e6a6
commit 09f792078f
4 files changed
+63 -200

No files matched your search

+1
View File
@@ -165,6 +165,7 @@ class ApplicationSwitcher(Window):
def _get_pixbuf(self, class_name: str) -> GdkPixbuf.Pixbuf | None:
key = (class_name, self.icon_size)
if key in self._pixbuf_cache:
self._pixbuf_cache.move_to_end(key)
return self._pixbuf_cache[key]
if len(self._pixbuf_cache) > 128: