mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
I was a bit confused by the fact that a method named `build_system_menu()` first enumerates a directory. Moving the app/category discovery to a dedicated function that returns the GUI-relevant information makes this process a bit less surprising. As an added bonus, `g_app_category_menus` was actually only a temporary mapping, and didn't need to be global. In theory, SystemMenu should use a handful fewer of bytes now.