From 016c93772e437620eda057b22729b1cc3397237c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 14 Oct 2008 13:16:32 +0000 Subject: Fix schemas installation. Also move them in data, a separat directory for just one schema seems excessive. --- (limited to 'data') diff --git a/data/.gitignore b/data/.gitignore index 6fa4af3..8263f12 100644 --- a/data/.gitignore +++ b/data/.gitignore @@ -1 +1,2 @@ *.gtkrc +sugar.schemas diff --git a/data/Makefile.am b/data/Makefile.am index 40e6e36..7623d46 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -46,5 +46,16 @@ if ENABLE_UPDATE_MIMEDB fi endif -EXTRA_DIST = $(sugar_DATA) $(xsessions_DATA) $(nmservice_DATA) $(mime_xml_in_files) em.py gtkrc.em -CLEANFILES = $(GTKRC_FILES) $(mime_xml_files) +@INTLTOOL_SCHEMAS_RULE@ + +schemadir = $(GCONF_SCHEMA_FILE_DIR) +schema_in_files = sugar.schemas.in +schema_DATA = $(schema_in_files:.schemas.in=.schemas) + +install-data-local: $(schema_DATA) +if GCONF_SCHEMAS_INSTALL + GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule sugar.schemas 2>&1 > /dev/null +endif + +EXTRA_DIST = $(sugar_DATA) $(xsessions_DATA) $(nmservice_DATA) $(mime_xml_in_files) em.py gtkrc.em $(schema_in_files) +CLEANFILES = $(GTKRC_FILES) $(mime_xml_files) $(schema_DATA) diff --git a/data/sugar.schemas.in b/data/sugar.schemas.in new file mode 100644 index 0000000..5cdff4d --- /dev/null +++ b/data/sugar.schemas.in @@ -0,0 +1,159 @@ + + + + + /schemas/desktop/sugar/user/nick + /desktop/sugar/user/nick + sugar + string + + + User Name + User name that is used throughout the desktop. + + + + /schemas/desktop/sugar/user/color + /desktop/sugar/user/color + sugar + string + + + User Color + Color for the XO icon that is used throughout the + desktop. The string is composed of the stroke color and fill + color, format is that of rbg colors. Example: #AC32FF,#9A5200 + + + + + + /schemas/desktop/sugar/sound/volume + /desktop/sugar/sound/volume + sugar + int + 80 + + Volume Level + Volume level for the sound device. + + + + /schemas/desktop/sugar/sound/mute + /desktop/sugar/sound/mute + sugar + bool + false + + Sound Muted + Setting for muting the sound device. + + + + + /schemas/desktop/sugar/backup_url + /desktop/sugar/backup_url + sugar + string + + + Backup URL + Url where the backup is saved to. + + + + + /schemas/desktop/sugar/date/timezone + /desktop/sugar/date/timezone + sugar + string + "UTC" + + Timezone + Timezone setting for the system. + + + + + /schemas/desktop/sugar/desktop/favorites_layout + /desktop/sugar/desktop/favorites_layout + sugar + string + "ring-layout" + + Favorites Layout + Layout of the favorites view. + + + + + /schemas/desktop/sugar/frame/edge_delay + /desktop/sugar/frame/edge_delay + sugar + int + 1000 + + Edge Delay + Delay for the activation of the frame using the edges. + + + + /schemas/desktop/sugar/frame/corner_delay + /desktop/sugar/frame/corner_delay + sugar + int + 0 + + Corner Delay + Delay for the activation of the frame using the corners. + + + + + /schemas/desktop/sugar/collaboration/jabber_server + /desktop/sugar/collaboration/jabber_server + sugar + string + "" + + Jabber Server + Url of the jabber server to use. + + + + /schemas/desktop/sugar/collaboration/jabber_registered + /desktop/sugar/collaboration/jabber_registered + sugar + bool + false + + Jabber Registered + Flag to keep track of the registration status with the jabber server. + + + + + /schemas/desktop/sugar/power/automatic + /desktop/sugar/power/automatic + sugar + bool + false + + Power Automatic + Power Automatic. + + + + /schemas/desktop/sugar/power/extreme + /desktop/sugar/power/extreme + sugar + bool + false + + Power Extreme + Power Extreme. + + + + + -- cgit v0.9.1