diff --git a/data/org.pantheon.desktop.gala.gschema.xml.in.in b/data/org.pantheon.desktop.gala.gschema.xml.in.in index 340daf5b..6c5bcfad 100644 --- a/data/org.pantheon.desktop.gala.gschema.xml.in.in +++ b/data/org.pantheon.desktop.gala.gschema.xml.in.in @@ -14,10 +14,6 @@ - - - - @@ -223,11 +219,11 @@ false Disable all notifications - - 'show' - The default priority that would be used for new apps + + true + The default setting for the bubbles that would be used for new apps - + true The default setting for the sounds that would be used for new apps diff --git a/plugins/notify/NotifyServer.vala b/plugins/notify/NotifyServer.vala index d4e85a40..e093beda 100644 --- a/plugins/notify/NotifyServer.vala +++ b/plugins/notify/NotifyServer.vala @@ -187,9 +187,13 @@ namespace Gala.Plugins.Notify apps_new[i] = options.apps[i]; } - parameters[0] = options.default_priority; + if (options.default_bubbles) { + parameters[0] = "show"; + } else { + parameters[0] = "hide"; + } - if (options.default_sounds_enabled) { + if (options.default_sounds) { parameters[1] = "on"; } else { parameters[1] = "off"; diff --git a/plugins/notify/NotifySettings.vala b/plugins/notify/NotifySettings.vala index a37afd05..ba7df68e 100644 --- a/plugins/notify/NotifySettings.vala +++ b/plugins/notify/NotifySettings.vala @@ -23,8 +23,8 @@ namespace Gala.Plugins.Notify public class NotifySettings : Granite.Services.Settings { public bool do_not_disturb { get; set; } - public string default_priority { get; set; } - public bool default_sounds_enabled { get; set; } + public bool default_bubbles { get; set; } + public bool default_sounds { get; set; } public string[] apps { get; set; } static NotifySettings? instance = null;