[evolution-data-server] Define an enum for 'contacts-reminder-units' setting.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Define an enum for 'contacts-reminder-units' setting.
- Date: Mon, 4 Mar 2013 21:27:24 +0000 (UTC)
commit 2be8dde954441255f548a11eb84047b46757368d
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Mar 4 16:26:41 2013 -0500
Define an enum for 'contacts-reminder-units' setting.
The enum values correspond to EDurationType in Evolution.
...e.evolution-data-server.calendar.gschema.xml.in | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/data/org.gnome.evolution-data-server.calendar.gschema.xml.in
b/data/org.gnome.evolution-data-server.calendar.gschema.xml.in
index 4f65e01..a676a83 100644
--- a/data/org.gnome.evolution-data-server.calendar.gschema.xml.in
+++ b/data/org.gnome.evolution-data-server.calendar.gschema.xml.in
@@ -1,5 +1,13 @@
<schemalist>
+
+ <enum id='org.gnome.evolution-data-server.calendar.Duration'>
+ <value nick='minutes' value='0'/>
+ <value nick='hours' value='1'/>
+ <value nick='days' value='2'/>
+ </enum>
+
<schema gettext-domain="evolution-data-server" id="org.gnome.evolution-data-server.calendar"
path="/org/gnome/evolution-data-server/calendar/">
+
<key name="contacts-reminder-enabled" type="b">
<default>false</default>
<_summary>Birthday and anniversary reminder</_summary>
@@ -10,10 +18,11 @@
<_summary>Birthday and anniversary reminder value</_summary>
<_description>Number of units for determining a birthday or anniversary reminder</_description>
</key>
- <key name="contacts-reminder-units" type="s">
+ <key name="contacts-reminder-units" enum='org.gnome.evolution-data-server.calendar.Duration'>
<default>'minutes'</default>
<_summary>Birthday and anniversary reminder units</_summary>
<_description>Units for a birthday or anniversary reminder, "minutes", "hours" or "days"</_description>
</key>
</schema>
+
</schemalist>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]