added schemas for the new GConf prefix, and add common tasks.

2007-01-26  Rodrigo Moya <rodrigo@gnome-db.org>

	* control-center.schemas.in: added schemas for the new GConf prefix,
	and add common tasks.

	* Makefile.am: install schemas.

svn path=/trunk/; revision=7183
This commit is contained in:
Rodrigo Moya 2007-01-26 13:12:54 +00:00 committed by Rodrigo Moya
parent c9cd656a2f
commit a6e6d88f8c
3 changed files with 91 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2007-01-26 Rodrigo Moya <rodrigo@gnome-db.org>
* control-center.schemas.in: added schemas for the new GConf prefix,
and add common tasks.
* Makefile.am: install schemas.
2007-01-26 Rodrigo Moya <rodrigo@gnome-db.org>
* control-center.c: changed GConf prefix to /apps/...

View file

@ -19,6 +19,17 @@ sys_in_files = gnomecc.desktop.in
sys_DATA = $(sys_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
EXTRA_DIST = gnomecc.desktop.in
schemasdir = @GCONF_SCHEMA_FILE_DIR@
schemas_DATA = control-center.schemas
@INTLTOOL_SCHEMAS_RULE@
DISTCLEANFILES = gnomecc.desktop
install-data-local:
if test -z "$(DESTDIR)" ; then \
for p in $(schemas_DATA) ; do \
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $$p; \
done \
fi
EXTRA_DIST = gnomecc.desktop.in.in $(schemas_DATA).in
DISTCLEANFILES = gnomecc.desktop gnomecc.desktop.in $(schemas_DATA)

View file

@ -0,0 +1,71 @@
<gconfschemafile>
<schemalist>
<schema>
<key>/schemas/apps/control-center/cc_actions_list</key>
<applyto>/apps/control-center/cc_actions_list</applyto>
<owner>control-center</owner>
<type>list</type>
<list_type>string</list_type>
<locale name="C">
<default><!-- Translators: The format of this string is the task name to be displayed (translate that part) followed by a ";" separator then the filename (DONT translate the file name) of a .desktop file to launch. Multiple entries are separated by a "," -->[Change Desktop Background;background.desktop,Add Printer;gnome-cups-manager.desktop]</default>
<short>Task names and associated .desktop files</short>
<long>The task name to be displayed in the control-center (thus needing to be translated) followed by a ";" separator then the filename of an associated .desktop file to launch for that task.</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/control-center/cc_exit_shell_on_static_action</key>
<applyto>/apps/control-center/cc_exit_shell_on_static_action</applyto>
<owner>control-center</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
<short>Close the control-center when a task is activated</short>
<long>if true, the control-center will close when a "Common Task" is activated</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/control-center/cc_exit_shell_on_action_start</key>
<applyto>/apps/control-center/cc_exit_shell_on_action_start</applyto>
<owner>control-center</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
<short>Exit shell on start action performed</short>
<long>Indicates whether to close the shell when a start action is performed</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/control-center/cc_exit_shell_on_action_help</key>
<applyto>/apps/control-center/cc_exit_shell_on_action_help</applyto>
<owner>control-center</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
<short>Exit shell on help action performed</short>
<long>Indicates whether to close the shell when a help action is performed</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/control-center/cc_exit_shell_on_action_add_remove</key>
<applyto>/apps/control-center/cc_exit_shell_on_action_add_remove</applyto>
<owner>control-center</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
<short>Exit shell on add or remove action performed</short>
<long>Indicates whether to close the shell when an add or remove action is performed</long>
</locale>
</schema>
<schema>
<key>/schemas/apps/control-center/cc_exit_shell_on_action_upgrade_uninstall</key>
<applyto>/apps/control-center/cc_exit_shell_on_action_upgrade_uninstall</applyto>
<owner>control-center</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
<short>Exit shell on upgrade or uninstall action performed</short>
<long>Indicates whether to close the shell when an upgrade or uninstall action is performed</long>
</locale>
</schema>
</schemalist>
</gconfschemafile>