diff options
| author | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2026-07-21 10:54:00 -0400 |
|---|---|---|
| committer | Christopher R. Nelson <christopher.nelson@languidnights.com> | 2026-07-21 10:54:00 -0400 |
| commit | 46b72a375101b54819f8750750017bd71e7c3798 (patch) | |
| tree | e8d72906b59252bd01939a5806235ccc75934f56 /include | |
| parent | 6bbc784b4cf0717ddc7f5c3ad32c1d5e2d486877 (diff) | |
Group menu items into per-category submenus
Parse the Categories key from .desktop files and have the renderer
emit one <menu> submenu per category (via xmerl), with items sorted
within each; entries in multiple categories appear in each submenu,
and uncategorized entries fall into a catch-all "Other" submenu.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/er_xdg_pipe_menu.hrl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/er_xdg_pipe_menu.hrl b/include/er_xdg_pipe_menu.hrl index 2cee607..6d50b8d 100644 --- a/include/er_xdg_pipe_menu.hrl +++ b/include/er_xdg_pipe_menu.hrl @@ -2,5 +2,6 @@ name :: binary(), exec :: binary(), icon :: binary() | undefined, + categories :: [binary()], hidden :: boolean() }). |
