gnome-control-center/capplets/screensaver/screensavers/Makefile.am

225 lines
3.7 KiB
Text
Raw Normal View History

INCLUDES = \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
$(GNOME_INCLUDEDIR) \
$(XML_CFLAGS) \
-I$(top_srcdir)/
Free structures only if they were ever allocated 2000-08-07 Bradford Hovinen <hovinen@helixcode.com> * screensaver-prefs-dialog.c (screensaver_prefs_dialog_destroy): Free structures only if they were ever allocated * selection-dialog.c (get_known_savers): Implement. Read the screensaver directory for a list of valid screensavers (place_screensaver_list): Use known_savers rather than XML data * preferences.c (screensaver_get_label): Implement. Copy from get_label in resources.c * prefs-widget.c (deselect_saver_cb): Toggle only if event was a mouse button press, not a keyboard press (prefs_widget_init): Change vertical size of preview window to 200 (prefs_widget_init): Use a table for the buttons below the screensaver list (prefs_widget_init): Change label of edit button to Settings... (prefs_widget_init): Don't have description and preview frames expand, have selection frame expand * Makefile.am (screensaver_properties_capplet_LDADD): Don't link against glade (INCLUDES): Don't set glade compilation flags * screensaver-prefs-dialog.c (get_select_widget): Show menu item (populate_table): Don't skip hgroups that lack ids (place_number): (place_boolean): Attach items with GTK_FILL (get_check_button): (get_select_widget): Set object data to point back to dialog (populate_table): Pass dialog, remove extraneous arguments (get_check_button): Connect toggled signal from here (get_select_widget): Set data and connect activate signals from here (place_number): Set default from default attribute (get_spinbutton): Set step_increment, page_increment, and page_size on adjustment (get_spinbutton): (place_number): Set default to average of high and low if not supplied (get_argument_data): Add i18n support (read_boolean): (read_number): (read_select): (write_boolean): (write_number): (write_select): Check if id is NULL before trying to look up a node (screensaver_prefs_dialog_new): Make sure CLI arguments and XML data were read successfully before trying to build the widget (get_argument_data): Return pointer to document rather than root node (screensaver_prefs_dialog_new): Set argument_data from argument_doc (screensaver_prefs_dialog_class_init): Set parent_class (screensaver_prefs_dialog_destroy): Implement; free all structures (free_set_cb): Implement (write_number): Don't assume correct format on the output string; just replace the '%' with the appropriate argument (write_command_line): Free arg iff generated from number 2000-08-06 Bradford Hovinen <hovinen@helixcode.com> * screensaver-prefs-dialog.c (get_screensaver_widget): Accept ScreensaverPrefsDialog as option (get_argument_data): Assume one file per screensaver (get_spinbutton): (get_check_button): (get_select_widget): (place_number): (place_boolean): (place_hgroup): (place_select): (populate_table): Implement (get_screensaver_widget): Rewrite to build screensaver config dialogs manually from the XML data (activate_option_cb): (toggle_check_cb): Pass dialog to set_widgets_sensitive (set_widgets_sensitive): Rewrite to use dialog->widget_db (write_boolean): (write_number): (write_select): Use widget_db (write_select): (write_command_line): Don't check no-output (write_command_line): Pass widget_db (read_boolean): (read_number): (read_select): Use widget_db (place_screensaver_properties): Pass dialog->widget_db to above functions (arg_mapping_exists): Use XML file rather than Glade definition (screensaver_prefs_dialog_new): Initialize settings_widget with the widget to be placed in the settings frame (place_screensaver_properties): Take xml node; process hgroups recursively (write_command_line): Process hgroups recursively (read_boolean): (read_number): (read_select): Check if set and set->value_widget are set before proceeding * screensaver-prefs-dialog.h (struct _PrefsDialogConfigOption): New structure (struct _ScreensaverPrefsDialog ): New member widget_db -- key-value database of PrefsDialogConfigOptions indexed by id attribute from XML
2000-08-07 16:04:33 +00:00
2000-07-31 20:07:10 +00:00
Screensaversdir = $(datadir)/screensavers
Screensavers_DATA = \
3d_clock.xml \
ant.xml \
atlantis.xml \
attraction.xml \
blitspin.xml \
bouboule.xml \
braid.xml \
bsod.xml \
bubble3d.xml \
bubbles.xml \
cage.xml \
compass.xml \
coral.xml \
critical.xml \
crystal.xml \
cynosure.xml \
decayscreen.xml \
deco.xml \
deluxe.xml \
demon.xml \
discrete.xml \
distort.xml \
drift.xml \
epicycle.xml \
fadeplot.xml \
flag.xml \
flame.xml \
flow.xml \
forest.xml \
glplanet.xml \
galaxy.xml \
gears.xml \
goop.xml \
grav.xml \
greynetic.xml \
halo.xml \
helix.xml \
hopalong.xml \
hypercube.xml \
ifs.xml \
imsmap.xml \
interference.xml \
jigsaw.xml \
julia.xml \
kaleidescope.xml \
kumppa.xml \
lament.xml \
laser.xml \
lightning.xml \
lisa.xml \
lissie.xml \
lmorph.xml \
loop.xml \
maze.xml \
moebius.xml \
moire.xml \
moire2.xml \
morph3d.xml \
mountain.xml \
munch.xml \
noseguy.xml \
pedal.xml \
penetrate.xml \
penrose.xml \
pipes.xml \
pyro.xml \
Free structures only if they were ever allocated 2000-08-07 Bradford Hovinen <hovinen@helixcode.com> * screensaver-prefs-dialog.c (screensaver_prefs_dialog_destroy): Free structures only if they were ever allocated * selection-dialog.c (get_known_savers): Implement. Read the screensaver directory for a list of valid screensavers (place_screensaver_list): Use known_savers rather than XML data * preferences.c (screensaver_get_label): Implement. Copy from get_label in resources.c * prefs-widget.c (deselect_saver_cb): Toggle only if event was a mouse button press, not a keyboard press (prefs_widget_init): Change vertical size of preview window to 200 (prefs_widget_init): Use a table for the buttons below the screensaver list (prefs_widget_init): Change label of edit button to Settings... (prefs_widget_init): Don't have description and preview frames expand, have selection frame expand * Makefile.am (screensaver_properties_capplet_LDADD): Don't link against glade (INCLUDES): Don't set glade compilation flags * screensaver-prefs-dialog.c (get_select_widget): Show menu item (populate_table): Don't skip hgroups that lack ids (place_number): (place_boolean): Attach items with GTK_FILL (get_check_button): (get_select_widget): Set object data to point back to dialog (populate_table): Pass dialog, remove extraneous arguments (get_check_button): Connect toggled signal from here (get_select_widget): Set data and connect activate signals from here (place_number): Set default from default attribute (get_spinbutton): Set step_increment, page_increment, and page_size on adjustment (get_spinbutton): (place_number): Set default to average of high and low if not supplied (get_argument_data): Add i18n support (read_boolean): (read_number): (read_select): (write_boolean): (write_number): (write_select): Check if id is NULL before trying to look up a node (screensaver_prefs_dialog_new): Make sure CLI arguments and XML data were read successfully before trying to build the widget (get_argument_data): Return pointer to document rather than root node (screensaver_prefs_dialog_new): Set argument_data from argument_doc (screensaver_prefs_dialog_class_init): Set parent_class (screensaver_prefs_dialog_destroy): Implement; free all structures (free_set_cb): Implement (write_number): Don't assume correct format on the output string; just replace the '%' with the appropriate argument (write_command_line): Free arg iff generated from number 2000-08-06 Bradford Hovinen <hovinen@helixcode.com> * screensaver-prefs-dialog.c (get_screensaver_widget): Accept ScreensaverPrefsDialog as option (get_argument_data): Assume one file per screensaver (get_spinbutton): (get_check_button): (get_select_widget): (place_number): (place_boolean): (place_hgroup): (place_select): (populate_table): Implement (get_screensaver_widget): Rewrite to build screensaver config dialogs manually from the XML data (activate_option_cb): (toggle_check_cb): Pass dialog to set_widgets_sensitive (set_widgets_sensitive): Rewrite to use dialog->widget_db (write_boolean): (write_number): (write_select): Use widget_db (write_select): (write_command_line): Don't check no-output (write_command_line): Pass widget_db (read_boolean): (read_number): (read_select): Use widget_db (place_screensaver_properties): Pass dialog->widget_db to above functions (arg_mapping_exists): Use XML file rather than Glade definition (screensaver_prefs_dialog_new): Initialize settings_widget with the widget to be placed in the settings frame (place_screensaver_properties): Take xml node; process hgroups recursively (write_command_line): Process hgroups recursively (read_boolean): (read_number): (read_select): Check if set and set->value_widget are set before proceeding * screensaver-prefs-dialog.h (struct _PrefsDialogConfigOption): New structure (struct _ScreensaverPrefsDialog ): New member widget_db -- key-value database of PrefsDialogConfigOptions indexed by id attribute from XML
2000-08-07 16:04:33 +00:00
qix.xml \
rd-bomb.xml \
rocks.xml \
rorschach.xml \
rotor.xml \
rubiks_cube.xml \
sierpinski.xml \
slidescreen.xml \
slip.xml \
sonar.xml \
sphere.xml \
spiral.xml \
spotlight.xml \
sproingies.xml \
squiral.xml \
stairs.xml \
starfish.xml \
strange.xml \
superquadrics.xml \
swirl.xml \
triangle.xml \
truchet.xml \
vines.xml \
worm.xml \
xflame.xml \
xjack.xml \
xlyap.xml \
xmatrix.xml \
xroger.xml
Free structures only if they were ever allocated 2000-08-07 Bradford Hovinen <hovinen@helixcode.com> * screensaver-prefs-dialog.c (screensaver_prefs_dialog_destroy): Free structures only if they were ever allocated * selection-dialog.c (get_known_savers): Implement. Read the screensaver directory for a list of valid screensavers (place_screensaver_list): Use known_savers rather than XML data * preferences.c (screensaver_get_label): Implement. Copy from get_label in resources.c * prefs-widget.c (deselect_saver_cb): Toggle only if event was a mouse button press, not a keyboard press (prefs_widget_init): Change vertical size of preview window to 200 (prefs_widget_init): Use a table for the buttons below the screensaver list (prefs_widget_init): Change label of edit button to Settings... (prefs_widget_init): Don't have description and preview frames expand, have selection frame expand * Makefile.am (screensaver_properties_capplet_LDADD): Don't link against glade (INCLUDES): Don't set glade compilation flags * screensaver-prefs-dialog.c (get_select_widget): Show menu item (populate_table): Don't skip hgroups that lack ids (place_number): (place_boolean): Attach items with GTK_FILL (get_check_button): (get_select_widget): Set object data to point back to dialog (populate_table): Pass dialog, remove extraneous arguments (get_check_button): Connect toggled signal from here (get_select_widget): Set data and connect activate signals from here (place_number): Set default from default attribute (get_spinbutton): Set step_increment, page_increment, and page_size on adjustment (get_spinbutton): (place_number): Set default to average of high and low if not supplied (get_argument_data): Add i18n support (read_boolean): (read_number): (read_select): (write_boolean): (write_number): (write_select): Check if id is NULL before trying to look up a node (screensaver_prefs_dialog_new): Make sure CLI arguments and XML data were read successfully before trying to build the widget (get_argument_data): Return pointer to document rather than root node (screensaver_prefs_dialog_new): Set argument_data from argument_doc (screensaver_prefs_dialog_class_init): Set parent_class (screensaver_prefs_dialog_destroy): Implement; free all structures (free_set_cb): Implement (write_number): Don't assume correct format on the output string; just replace the '%' with the appropriate argument (write_command_line): Free arg iff generated from number 2000-08-06 Bradford Hovinen <hovinen@helixcode.com> * screensaver-prefs-dialog.c (get_screensaver_widget): Accept ScreensaverPrefsDialog as option (get_argument_data): Assume one file per screensaver (get_spinbutton): (get_check_button): (get_select_widget): (place_number): (place_boolean): (place_hgroup): (place_select): (populate_table): Implement (get_screensaver_widget): Rewrite to build screensaver config dialogs manually from the XML data (activate_option_cb): (toggle_check_cb): Pass dialog to set_widgets_sensitive (set_widgets_sensitive): Rewrite to use dialog->widget_db (write_boolean): (write_number): (write_select): Use widget_db (write_select): (write_command_line): Don't check no-output (write_command_line): Pass widget_db (read_boolean): (read_number): (read_select): Use widget_db (place_screensaver_properties): Pass dialog->widget_db to above functions (arg_mapping_exists): Use XML file rather than Glade definition (screensaver_prefs_dialog_new): Initialize settings_widget with the widget to be placed in the settings frame (place_screensaver_properties): Take xml node; process hgroups recursively (write_command_line): Process hgroups recursively (read_boolean): (read_number): (read_select): Check if set and set->value_widget are set before proceeding * screensaver-prefs-dialog.h (struct _PrefsDialogConfigOption): New structure (struct _ScreensaverPrefsDialog ): New member widget_db -- key-value database of PrefsDialogConfigOptions indexed by id attribute from XML
2000-08-07 16:04:33 +00:00
screensavers_msgs = \
3d_clock.xml.h \
ant.xml.h \
atlantis.xml.h \
attraction.xml.h \
blitspin.xml.h \
bouboule.xml.h \
braid.xml.h \
bsod.xml.h \
bubble3d.xml.h \
bubbles.xml.h \
cage.xml.h \
compass.xml.h \
coral.xml.h \
critical.xml.h \
crystal.xml.h \
cynosure.xml.h \
decayscreen.xml.h \
deco.xml.h \
deluxe.xml.h \
demon.xml.h \
discrete.xml.h \
distort.xml.h \
drift.xml.h \
epicycle.xml.h \
fadeplot.xml.h \
flag.xml.h \
flame.xml.h \
flow.xml.h \
forest.xml.h \
glplanet.xml.h \
galaxy.xml.h \
gears.xml.h \
goop.xml.h \
grav.xml.h \
greynetic.xml.h \
halo.xml.h \
helix.xml.h \
hopalong.xml.h \
hypercube.xml.h \
ifs.xml.h \
imsmap.xml.h \
interference.xml.h \
jigsaw.xml.h \
julia.xml.h \
kaleidescope.xml.h \
kumppa.xml.h \
lament.xml.h \
laser.xml.h \
lightning.xml.h \
lisa.xml.h \
lissie.xml.h \
lmorph.xml.h \
loop.xml.h \
maze.xml.h \
moebius.xml.h \
moire.xml.h \
moire2.xml.h \
morph3d.xml.h \
mountain.xml.h \
munch.xml.h \
noseguy.xml.h \
pedal.xml.h \
penetrate.xml.h \
penrose.xml.h \
pipes.xml.h \
pyro.xml.h \
qix.xml.h \
rd-bomb.xml.h \
rocks.xml.h \
rorschach.xml.h \
rotor.xml.h \
rubiks_cube.xml.h \
sierpinski.xml.h \
slidescreen.xml.h \
slip.xml.h \
sonar.xml.h \
sphere.xml.h \
spiral.xml.h \
spotlight.xml.h \
sproingies.xml.h \
squiral.xml.h \
stairs.xml.h \
starfish.xml.h \
strange.xml.h \
superquadrics.xml.h \
swirl.xml.h \
triangle.xml.h \
truchet.xml.h \
vines.xml.h \
worm.xml.h \
xflame.xml.h \
xjack.xml.h \
xlyap.xml.h \
xmatrix.xml.h \
xroger.xml.h
EXTRA_DIST = $(Screensavers_DATA) $(screensavers_msgs) README
noinst_DATA = $(screensavers_msgs)
noinst_PROGRAMS = extract-labels
extract_labels_SOURCES = extract-labels.c
extract_labels_LDADD = \
$(GNOME_LIBDIR) \
$(GNOME_LIBS) \
$(GNOME_XML_LIB)
#ant.xml.h: $(srcdir)/ant.xml extract-labels
#bsod.xml.h: $(srcdir)/bsod.xml extract-labels
#compass.xml.h: $(srcdir)/compass.xml extract-labels
#flag.xml.h: $(srcdir)/flag.xml extract-labels
#qix.xml.h: $(srcdir)/qix.xml extract-labels
#attraction.xml.h: $(srcdir)/attraction.xml extract-labels
#rorschach.xml.h: $(srcdir)/rorschach.xml extract-labels
%.xml.h: %.xml
./extract-labels $<