mirror of
https://github.com/elementary/gala.git
synced 2024-10-05 19:27:25 +03:00
Fix app notification schema not being found (#524)
This commit is contained in:
parent
903bc6c5a1
commit
3ae100da4b
@ -206,7 +206,7 @@ namespace Gala.Plugins.Notify
|
||||
|
||||
GLib.Settings? app_settings = app_settings_cache.get (app_id);
|
||||
if (app_settings == null) {
|
||||
var schema = SettingsSchemaSource.get_default ().lookup ("org.pantheon.desktop.gala.notifications.application", false);
|
||||
var schema = SettingsSchemaSource.get_default ().lookup ("org.pantheon.desktop.gala.notifications.application", true);
|
||||
if (schema != null) {
|
||||
app_settings = new GLib.Settings.full (schema, null, "/org/pantheon/desktop/gala/notifications/applications/%s/".printf (app_id));
|
||||
app_settings_cache.set (app_id, app_settings);
|
||||
|
Loading…
Reference in New Issue
Block a user