3d60245b18
Separate out the main app view into different sections based on the categories in the desktop file. The configuration is done via gmenu and the desktop menu specification, we set XDG_MENU_PREFIX="gs-" on startup, so that gmenu reads gs-applications.menu, which we install. There is no support for "submenus" - only the menus directly under Applications will be displayed as categories. https://bugzilla.gnome.org/show_bug.cgi?id=614131
37 lines
648 B
Plaintext
37 lines
648 B
Plaintext
<Menu>
|
|
<Name>Applications</Name>
|
|
<DefaultAppDirs/>
|
|
<Menu>
|
|
<Name>Games</Name>
|
|
<Include>
|
|
<And>
|
|
<Category>Game</Category>
|
|
</And>
|
|
</Include>
|
|
</Menu>
|
|
<Menu>
|
|
<Name>Tools</Name>
|
|
<Include>
|
|
<Category>Development</Category>
|
|
<And>
|
|
<Category>System</Category>
|
|
<Not>
|
|
<Category>Settings</Category>
|
|
</Not>
|
|
</And>
|
|
<Category>Utility</Category>
|
|
</Include>
|
|
</Menu>
|
|
<Menu>
|
|
<Name>Other</Name>
|
|
<OnlyUnallocated/>
|
|
<Include>
|
|
<And>
|
|
<Not><Category>Core</Category></Not>
|
|
<Not><Category>Settings</Category></Not>
|
|
<Not><Category>Screensaver</Category></Not>
|
|
</And>
|
|
</Include>
|
|
</Menu>
|
|
</Menu>
|