GNOME Bugzilla – Bug 791694
Stop reloading SchemaSource every 3 seconds
Last modified: 2019-03-20 10:40:32 UTC
Refreshing SchemaSource every 3 seconds is clearly not the correct way to do things –it was just the best that could be done without adapting the GLib. So now that’s working, it would be great to add in the GLib the functions needed to do that a correct way, by monitoring changes in the schema dirs. I’m bad at low-level abstractions, but that probably needs: * monitoring every directory with schemas (or empty) detected at first pass using g_file_monitor_directory; * monitoring the creation of the missing directories that might contains schemas (not sure how g_file_monitor_directory acts then); * maybe a function to say “start/stop monitoring”? * a signal for saying an update is needed; * and a g_settings_schema_source_get_updated function returning an updated SchemaSource, of course. ^^
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dconf-editor/issues/25.