gsettings-schema added.

This commit is contained in:
Marcus Wichelmann 2014-11-03 12:23:35 +01:00
parent ca4e10f56a
commit 6fd5cd0a60
2 changed files with 17 additions and 2 deletions

View File

@ -213,4 +213,19 @@
<description>See normal-focused</description> <description>See normal-focused</description>
</key> </key>
</schema> </schema>
<schema path="/org/pantheon/desktop/gala/notifications/" id="org.pantheon.desktop.gala.notifications" gettext-domain="gala">
<key type="b" name="do-not-disturb">
<default>false</default>
<summary>Disable all notifications</summary>
</key>
<key type="as" name="bubbles">
<default>[]</default>
<summary>List of apps that are allowed to show notification-bubbles</summary>
</key>
<key type="as" name="sounds">
<default>[]</default>
<summary>List of apps that are allowed to play notification-sounds</summary>
</key>
</schema>
</schemalist> </schemalist>

View File

@ -28,7 +28,7 @@ namespace Gala.Plugins.Notify
private NotifySettings () private NotifySettings ()
{ {
base ("org.pantheon.desktop.notifications"); base (Config.SCHEMA + ".notifications");
} }
public static NotifySettings get_default () public static NotifySettings get_default ()