has_icon() returns true even for broken themes since it checks all search paths. Instead, verify the theme directory actually exists in the search path. Falls back to Adwaita only when the configured theme is genuinely missing from disk.
has_icon() returns true even for broken themes since it checks all search paths. Instead, verify the theme directory actually exists in the search path. Falls back to Adwaita only when the configured theme is genuinely missing from disk.