Added rorschach.xml[.h]
2000-10-14 Bradford Hovinen <hovinen@helixcode.com> * screensavers/Makefile.am (Screensavers_DATA): (screensavers_msgs): Added rorschach.xml[.h] * screensaver-prefs-dialog.c (write_boolean): Return the attribute arg-unset if the toggle button is inactive
This commit is contained in:
parent
e5cbe65716
commit
6ac6997216
4 changed files with 28 additions and 9 deletions
|
@ -1,3 +1,11 @@
|
|||
2000-10-14 Bradford Hovinen <hovinen@helixcode.com>
|
||||
|
||||
* screensavers/Makefile.am (Screensavers_DATA):
|
||||
(screensavers_msgs): Added rorschach.xml[.h]
|
||||
|
||||
* screensaver-prefs-dialog.c (write_boolean): Return the attribute
|
||||
arg-unset if the toggle button is inactive
|
||||
|
||||
2000-10-08 Bradford Hovinen <hovinen@helixcode.com>
|
||||
|
||||
* screensavers/Makefile.am: Place .xml.h files in
|
||||
|
|
|
@ -460,7 +460,7 @@ write_boolean (xmlNodePtr argument_data, GTree *widget_db)
|
|||
(GTK_TOGGLE_BUTTON (set->value_widget)))
|
||||
return xmlGetProp (argument_data, "arg-set");
|
||||
else
|
||||
return NULL;
|
||||
return xmlGetProp (argument_data, "arg-unset");
|
||||
}
|
||||
|
||||
static gchar *
|
||||
|
|
|
@ -11,7 +11,8 @@ Screensavers_DATA = \
|
|||
compass.xml \
|
||||
flag.xml \
|
||||
qix.xml \
|
||||
attraction.xml
|
||||
attraction.xml \
|
||||
rorschach.xml
|
||||
|
||||
screensavers_msgs = \
|
||||
ant.xml.h \
|
||||
|
@ -19,7 +20,8 @@ screensavers_msgs = \
|
|||
compass.xml.h \
|
||||
flag.xml.h \
|
||||
qix.xml.h \
|
||||
attraction.xml.h
|
||||
attraction.xml.h \
|
||||
rorschach.xml.h
|
||||
|
||||
EXTRA_DIST = $(Screensavers_DATA) $(screensavers_msgs) README
|
||||
|
||||
|
@ -33,14 +35,12 @@ extract_labels_LDADD = \
|
|||
$(GNOME_XML_LIB)
|
||||
|
||||
ant.xml.h: $(srcdir)/ant.xml extract-labels
|
||||
./extract-labels $(srcdir)/ant.xml
|
||||
bsod.xml.h: $(srcdir)/bsod.xml extract-labels
|
||||
./extract-labels $(srcdir)/bsod.xml
|
||||
compass.xml.h: $(srcdir)/compass.xml extract-labels
|
||||
./extract-labels $(srcdir)/compass.xml
|
||||
flag.xml.h: $(srcdir)/flag.xml extract-labels
|
||||
./extract-labels $(srcdir)/flag.xml
|
||||
qix.xml.h: $(srcdir)/qix.xml extract-labels
|
||||
./extract-labels $(srcdir)/qix.xml
|
||||
attraction.xml.h: $(srcdir)/attraction.xml extract-labels
|
||||
./extract-labels $(srcdir)/attraction.xml
|
||||
rorschach.xml.h: $(srcdir)/rorschach.xml extract-labels
|
||||
|
||||
%.xml.h: %.xml
|
||||
./extract-labels $<
|
||||
|
|
11
capplets/screensaver/screensavers/rorschach.xml
Normal file
11
capplets/screensaver/screensavers/rorschach.xml
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
|
||||
<screensaver name="rorschach">
|
||||
<command arg="-root"/>
|
||||
<number id="iterations" label="Number of Iterations" low-label="Small" high-label="Large" type="slider" low="0" high="2000" default="1500" arg="-iterations %" from-cli-conv="var / 200" to-cli-conv="var * 200"/>
|
||||
<number id="offset" label="Offset" low-label="Small" high-label="Large" type="slider" low="0" high="50" default="10" arg="-offset %"/>
|
||||
<boolean id="xsymmetry" label="With X-axis Symmetry" arg-set="-xsymmetry" />
|
||||
<boolean id="ysymmetry" label="With Y-axis Symmetry" arg-set="-ysymmetry" />
|
||||
<number id="delay" label="Delay before next redraw" low-label="Short" high-label="Long" type="slider" low="0" high="50" default="5" arg="-delay %" />
|
||||
<number id="erase" label="Speed to clear the screen" type="spinbutton" low="0" high="20" default="3" arg="-erase-speed %" />
|
||||
</screensaver>
|
Loading…
Add table
Add a link
Reference in a new issue