aboutsummaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorJason Conti <jason.conti@gmail.com>2019-06-07 16:26:23 -0400
committerJason Conti <jason.conti@gmail.com>2019-06-07 16:26:23 -0400
commitc86a42ea6ab8f995d9ee34359769ed934336fe7a (patch)
tree43a5765a05bbce6c44f4b531a24114bd7e52719c /src/settings.h
parente704cbf0b4aaf4c71341c5b585ae01ede2fed4b6 (diff)
downloadayatana-indicator-notifications-c86a42ea6ab8f995d9ee34359769ed934336fe7a.tar.gz
ayatana-indicator-notifications-c86a42ea6ab8f995d9ee34359769ed934336fe7a.tar.bz2
ayatana-indicator-notifications-c86a42ea6ab8f995d9ee34359769ed934336fe7a.zip
* Pull out gsettings schema keys to settings.h to avoid duplication
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
new file mode 100644
index 0000000..92521e5
--- /dev/null
+++ b/src/settings.h
@@ -0,0 +1,14 @@
+/*
+ * settings.h - Definitions of settings keys and schema.
+ */
+
+#ifndef __SETTINGS_H__
+#define __SETTINGS_H__
+
+#define NOTIFICATIONS_SCHEMA "net.launchpad.indicator.notifications"
+#define NOTIFICATIONS_KEY_BLACKLIST "blacklist"
+#define NOTIFICATIONS_KEY_CLEAR_MC "clear-on-middle-click"
+#define NOTIFICATIONS_KEY_HIDE_INDICATOR "hide-indicator"
+#define NOTIFICATIONS_KEY_MAX_ITEMS "max-items"
+
+#endif