desktop-entry: fix wrong description of sfdo-icon flags

This commit is contained in:
tokyo4j 2025-10-08 18:32:30 +09:00 committed by Consolatis
parent 7166efe7bf
commit c27d4955a4

View file

@ -96,15 +96,15 @@ desktop_entry_init(struct server *server)
* We set some relaxed load options to accommodate delinquent themes in * We set some relaxed load options to accommodate delinquent themes in
* the wild, namely: * the wild, namely:
* *
* - SFDO_ICON_THEME_LOAD_OPTION_ALLOW_MISSING to "impose less * - SFDO_ICON_THEME_LOAD_OPTION_RELAXED to "impose less restrictions
* restrictions on the format of icon theme files" * on the format of icon theme files"
* *
* - SFDO_ICON_THEME_LOAD_OPTION_RELAXED to "continue loading even if it * - SFDO_ICON_THEME_LOAD_OPTION_ALLOW_MISSING to "continue loading
* fails to find a theme or one of its dependencies." * even if it fails to find a theme or one of its dependencies."
*/ */
int load_options = SFDO_ICON_THEME_LOAD_OPTIONS_DEFAULT int load_options = SFDO_ICON_THEME_LOAD_OPTIONS_DEFAULT
| SFDO_ICON_THEME_LOAD_OPTION_ALLOW_MISSING | SFDO_ICON_THEME_LOAD_OPTION_RELAXED
| SFDO_ICON_THEME_LOAD_OPTION_RELAXED; | SFDO_ICON_THEME_LOAD_OPTION_ALLOW_MISSING;
sfdo->icon_theme = sfdo_icon_theme_load( sfdo->icon_theme = sfdo_icon_theme_load(
sfdo->icon_ctx, sfdo->icon_ctx,