Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/data/sugar.schemas.in
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2009-11-27 11:34:59 (GMT)
committer Daniel Drake <dsd@laptop.org>2009-12-01 16:48:55 (GMT)
commit96bbf75d78c64ec51350db752997d48dd0e47ca9 (patch)
treea66d1f1ab703fc4259e9d2553b1a382d0d42aea3 /data/sugar.schemas.in
parent225476d024c6c0d3403855f319cf2d969af372c9 (diff)
Configure fonts through GConf (#1584)
Sugar currently configures fonts through gtkrc and through the sugar.graphics.style class, both of which are hard to modify by implementors/deployers. Move this into GConf and apply these settings to the sugar shell at startup. In the longer term, Sayamindu's efforts to create a settings manager will build on this work.
Diffstat (limited to 'data/sugar.schemas.in')
-rw-r--r--data/sugar.schemas.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/data/sugar.schemas.in b/data/sugar.schemas.in
index 8c43930..48770de 100644
--- a/data/sugar.schemas.in
+++ b/data/sugar.schemas.in
@@ -216,6 +216,29 @@
</locale>
</schema>
+ <schema>
+ <key>/schemas/desktop/sugar/font/default_face</key>
+ <applyto>/desktop/sugar/font/default_face</applyto>
+ <owner>sugar</owner>
+ <type>string</type>
+ <default>Sans Serif</default>
+ <locale name="C">
+ <short>Default font face</short>
+ <long>Font face that is used throughout the desktop.</long>
+ </locale>
+ </schema>
+ <schema>
+ <key>/schemas/desktop/sugar/font/default_size</key>
+ <applyto>/desktop/sugar/font/default_size</applyto>
+ <owner>sugar</owner>
+ <type>float</type>
+ <default>10</default>
+ <locale name="C">
+ <short>Default font size</short>
+ <long>Font size that is used throughout the desktop.</long>
+ </locale>
+ </schema>
+
</schemalist>
</gconfschemafile>