diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-09 06:09:37 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-03-17 20:49:11 +0800 |
commit | 566d48b354500180700d23405d500a101d3bfd2f (patch) | |
tree | b2eca005921f63637e187e9d085196205c67f3dd | |
parent | 47e9e111378972fee9ce97608a3cf750089ab655 (diff) | |
download | gsoc2013-evolution-566d48b354500180700d23405d500a101d3bfd2f.tar gsoc2013-evolution-566d48b354500180700d23405d500a101d3bfd2f.tar.gz gsoc2013-evolution-566d48b354500180700d23405d500a101d3bfd2f.tar.bz2 gsoc2013-evolution-566d48b354500180700d23405d500a101d3bfd2f.tar.lz gsoc2013-evolution-566d48b354500180700d23405d500a101d3bfd2f.tar.xz gsoc2013-evolution-566d48b354500180700d23405d500a101d3bfd2f.tar.zst gsoc2013-evolution-566d48b354500180700d23405d500a101d3bfd2f.zip |
Split "working-days" setting into separate booleans.
Add separate boolean keys for each day of the week:
"working-day-monday"
"working-day-tuesday"
"working-day-wednesday"
"working-day-thursday"
"working-day-friday"
"working-day-saturday"
"working-day-sunday"
These are much easier to decipher and much easier to bind boolean
GObject properties to.
The "working-days" setting is now deprecated.
-rw-r--r-- | data/org.gnome.evolution.calendar.gschema.xml.in | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/data/org.gnome.evolution.calendar.gschema.xml.in b/data/org.gnome.evolution.calendar.gschema.xml.in index 5b3f3589e2..4fd4a2e1c0 100644 --- a/data/org.gnome.evolution.calendar.gschema.xml.in +++ b/data/org.gnome.evolution.calendar.gschema.xml.in @@ -333,10 +333,33 @@ <default>'monday'</default> <_summary>First day of the week</_summary> </key> - <key name="working-days" type="i"> - <default>62</default> - <_summary>Work days</_summary> - <_description>Days on which the start and end of work hours should be indicated</_description> + <key name="work-day-monday" type="b"> + <default>true</default> + <_summary>Monday is a work day</_summary> + </key> + <key name="work-day-tuesday" type="b"> + <default>true</default> + <_summary>Tuesday is a work day</_summary> + </key> + <key name="work-day-wednesday" type="b"> + <default>true</default> + <_summary>Wednesday is a work day</_summary> + </key> + <key name="work-day-thursday" type="b"> + <default>true</default> + <_summary>Thursday is a work day</_summary> + </key> + <key name="work-day-friday" type="b"> + <default>true</default> + <_summary>Friday is a work day</_summary> + </key> + <key name="work-day-saturday" type="b"> + <default>false</default> + <_summary>Saturday is a work day</_summary> + </key> + <key name="work-day-sunday" type="b"> + <default>false</default> + <_summary>Sunday is a work day</_summary> </key> <!-- The following keys are deprecated. --> @@ -346,6 +369,11 @@ <_summary>(Deprecated) First day of the week, from Sunday (0) to Saturday (6)</_summary> <_description>This key was deprecated in version 3.10 and should no longer be used. Use "week-start-day-name" instead.</_description> </key> + <key name="working-days" type="i"> + <default>62</default> + <_summary>(Deprecated) Work days</_summary> + <_description>Days on which the start and end of work hours should be indicated. (This key was deprecated in version 3.10 and should no longer be used. Use the "work-day-monday", "work-day-tuesday", etc. keys instead.)</_description> + </key> </schema> |