AyatanaIndicators / ayatana-indicator-display

Ayatana Indicator Display
GNU General Public License v3.0
2 stars 7 forks source link

src/service.cpp: Look up schemas recursively #98

Closed OPNA2608 closed 6 months ago

OPNA2608 commented 6 months ago

g_settings_schema_source_get_default(void) documentation says that the returned source may consist of multiple sources from different directories, and that lookups against the default source should be done recursively to cover this situation.

In Nixpkgs, we wrap this indicator by putting paths to the different schemas it might need into XDG_DATA_DIRS / GSETTINGS_SCHEMA_DIR. Without this recursive lookup, only the first directory in that list is checked.