gnome-control-center/capplets/screensaver/screensavers
Carlos Perelló Marín e7c670aa05 /s/label/_label, /s/low-label/_low-label/, /s/high-label/_high-label/ &&
2001-07-18  Carlos Perelló Marín <carlos@gnome-db.org>

	* screensavers/*.xml: /s/label/_label, /s/low-label/_low-label/,
	/s/high-label/_high-label/ && removed the i18n section.
2001-07-18 09:47:30 +00:00
..
.cvsignore Quiet CVS 2000-09-29 12:39:27 +00:00
3d_clock.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
ant.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
atlantis.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
attraction.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
blitspin.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
bouboule.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
braid.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
bsod.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
bubble3d.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
bubbles.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
cage.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
compass.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
coral.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
critical.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
crystal.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
cynosure.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
decayscreen.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
deco.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
deluxe.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
demon.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
discrete.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
distort.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
drift.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
epicycle.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
fadeplot.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
flag.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
flame.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
flow.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
forest.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
galaxy.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
gears.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
glplanet.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
goop.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
grav.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
greynetic.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
halo.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
helix.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
hopalong.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
hypercube.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
ifs.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
imsmap.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
interference.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
jigsaw.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
julia.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
kaleidescope.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
kumppa.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
lament.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
laser.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
lightning.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
lisa.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
lissie.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
lmorph.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
loop.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
Makefile.am Fix fix fix fix fix & clean stuff. With their changelog entries for your 2001-07-18 06:36:24 +00:00
maze.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
moebius.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
moire.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
moire2.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
morph3d.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
mountain.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
munch.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
noseguy.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
pedal.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
penetrate.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
penrose.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
pipes.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
pyro.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
qix.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
rd-bomb.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
README /s/label/_label, /s/low-label/_low-label/, /s/high-label/_high-label/ && 2001-07-18 09:47:30 +00:00
rocks.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
rorschach.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
rotor.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
rubiks_cube.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
sierpinski.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
slidescreen.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
slip.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
sonar.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
sphere.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
spiral.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
spotlight.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
sproingies.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
squiral.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
stairs.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
starfish.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
strange.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
superquadrics.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
swirl.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
triangle.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
truchet.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
vines.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00
worm.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
xflame.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
xjack.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
xlyap.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
xmatrix.xml From John B Tunison <jtunison@andrew.cmu.edu>: 2000-10-22 20:21:02 +00:00
xroger.xml Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to 2001-07-16 17:04:18 +00:00

Instructions for creating screensaver description files

The files that describe screensaver configuration dialogs are in XML;
qix.xml and attraction.xml should prove adequate examples. There is
one XML file per screensaver, with the name "<binary>.xml" where
<binary> is the name of the screensaver's executable binary.

1. Dialog Specification

Each XML file contains a set of elements describing the various dialog 
options in order by vertical position on the dialog. The valid element 
names are:

	<command> - Mandatory arguments not configurable by the user
	<boolean> - Flags that can be made true or false
	<number> - Any numeric value
	<select> - An option menu
	<hgroup> - A horizontally-oriented group of dialog elements

Each dialog element must have an attribute "id" specifying a unique
name for the element. Elements lacking that attribute will not be
rendered. The id may be used to refer to a particular element
elsewhere, for example when specifying that a particular element
should only be enabled when a boolean option is set.

<command> does not actually create a widget but merely informs the
program that a particular argument must be present on the command
line. It takes one attribute, "arg", that specifies the argument to be 
passed.

<boolean> creates a checkbox. It requires an attribute "_label" that
specifies the text that goes with the checkbox. The optional attribute 
"arg-set" specifies what should be written on the command line when
the checkbox is active. The attribute "test" specifies a boolean
expression that tests whether the option is set on the command line.

<number> creates either a spin button or a slider, depending on the
value of the attribute "type" ("spinbutton" for the former, "slider"
for the latter). In the former case, the three mandatory attributes
"_label", "_low-label", and "_high-label" specify the labels that appear
above the slider, to the left, and to the right, respectively. In the
latter case, only "_label" is meaningful, and it is not mandatory. In
both cases, the mandatory attributes "low" and "high" specify numeric
values for the minimum and maximum acceptable values for the
parameter, and the optional "default" (set to the average of high and
low if not present) specifies the default value. The attribute "arg"
specifies the command line fragment to write out with the character
'%' replaced by the value supplied by the user.

<select> creates an option menu. The optional "_label" attribute
specifies a label to appear to the left of the option menu. It must
contain one or more <option> elements as children. Each <option> element
is similar to a <boolean> element described above, with a mandatory
label, a test, and a command line fragment to be written out. If one
option in a select element does not have a test attribute, then it is
set if and only if the tests for all other options fail.

<hgroup> arranges its children horizontally, in a GtkHBox. The
children appear in left-to-right order. It does not require an id
attribute. When <number>'s are placed in an <hgroup>, they always
appear as spinbuttons, never as sliders.

2. Enabling and disabling controls

Some options presented to screensavers are mutually exclusive. For
example, in the case of Qix, it makes no sense to specify solid trails
and a nonzero spread between lines at the same time. Therefore, both
<boolean> and <option> allow widgets to be enabled on the condition
that they are set. The attribute "enable" lists a set of
comma-separated ids (no whitespace) for widgets that will become
sensitive if the option is set. In the case of <option>'s, when a
given option is selected, the ids listed for all other <option>'s will
be disabled before the ids listed for the selected <option> are
enabled.

3. Boolean and arithmetic expressions

These are used in two places: the "test" attribute and two other
attributes used to perform basic arithmetic manipulation on arguments
before writing them to the command line. The syntax is similar to most 
programming languages, with `=' being the equality test. The words
`and', `or', and `not' are used as boolean connectives. Identifiers
are interpreted as the values associated with arguments on the command 
line if they are present; arguments without values are given the
boolean value true. Identifiers not present on the command line are
interpreted as literal strings.

The attributes "from-cli-conv" and "to-cli-conv", when placed in a
<number> element, convert values from those present on the command
line to those in the dialog and vice versa, respectively. They are
arithmetic expressions interpreted in the normal way, with the literal 
"var" replaced by the value to be converted. This can be used, for
example, when converting the value of the "-delay" argument to a more
meaningful value for speed.

Copyright (C) 2000 Helix Code, Inc.
Written by Bradford Hovinen <hovinen@helixcode.com>