[Sugar-devel] [PATCH] Add font dpi schema

Sayamindu Dasgupta sayamindu at gmail.com
Fri Jun 18 14:12:31 EDT 2010


On Fri, Jun 18, 2010 at 10:49 PM,  <jorgesaldivar at gmail.com> wrote:
> From: Jorge Saldivar <jsaldivar at paraguayeduca.org>
>
> ---
>  data/sugar.schemas.in |   12 +++++++++++-
>  1 files changed, 11 insertions(+), 1 deletions(-)
>
> diff --git a/data/sugar.schemas.in b/data/sugar.schemas.in
> index b9606ba..78aea9d 100644
> --- a/data/sugar.schemas.in
> +++ b/data/sugar.schemas.in
> @@ -249,6 +249,17 @@
>         <long>Font size that is used throughout the desktop.</long>
>       </locale>
>     </schema>
> +    <schema>
> +      <key>/schemas/desktop/sugar/font/dpi</key>
> +      <applyto>/desktop/sugar/font/dpi</applyto>
> +      <owner>sugar</owner>
> +      <type>int</type>
> +      <default>200</default>
> +      <locale name="C">
> +        <short>Default font dpi</short>
> +        <long>Font dpi that is used throughout the desktop.</long>
> +      </locale>
> +    </schema>
>
>     <schema>
>       <key>/schemas/desktop/sugar/i18n/langpackdir</key>
> @@ -328,6 +339,5 @@
>         <long>GSM network personal unlock key configuration</long>
>       </locale>
>     </schema>
> -
>   </schemalist>
>  </gconfschemafile>
> --


Note that support for reading the value of this GConf key has been
added to sugar-settings-managed.
Thanks,
Sayamindu


-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]


More information about the Sugar-devel mailing list