Commit graph

33 commits

Author SHA1 Message Date
Bradford Hovinen
7e964d36ec Remove obsolete stuff
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am: Remove obsolete stuff

	* screensavers/Makefile.am (install-data-local): Make sure
	share/control-center/screensavers directory is created

	* Replace screensaver.desktop.in.in with screensaver.desktop.in
2001-12-20 19:08:15 +00:00
Bradford Hovinen
cb0a578f7e Add
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* schemas/Makefile.am (EXTRA_DIST): Add

	* configure.in: Removed capplets/sound/Makefile

	* capplets/*/Makefile.am: Compilation fixes
2001-12-20 17:58:44 +00:00
Jose Maria Celorio
598a876b87 shhhhh 2001-09-29 03:37:51 +00:00
Kwok-Koon Cheung
7c531bc29e Added missing destdir to Makefile.am and fix description in attraction.xml. 2001-08-18 20:48:25 +00:00
Richard Hestilow
0fcf91e2bc Add perms to mkdir.
2001-08-10  Richard Hestilow  <hestilow@ximian.com>

	* capplets/screensavers/magic.pl.in: Add perms to mkdir.
2001-08-10 18:28:58 +00:00
Richard Hestilow
b35c2cf932 Remove screen.png, which was commented out anyway.
2001-08-10  Richard Hestilow  <hestilow@ximian.com>

	* Makefile.am (pixmaps_DATA): Remove screen.png,
	  which was commented out anyway.

	* preferences.c (screensaver_clone): Added.
	  (copy_screensavers): Added.
	  (preferences_clone): Copy screensaver list.
	  (screensaver_destroy): Destroy new fields.
	* prefs-widget.c (prefs_widget_set_screensavers): Translate
	  strings and utf8ize ahead of time.
	  (prefs_widget_destroy): Free translated strings.
	  (model_value_at): Return pre-translated string.
	  (about_cb): Call gettext on desc, name, and title.
	* screensaver-prefs-dialog.c (screensaver_prefs_dialog_new):
	  Call gettext on label and desc.
	* capplets/screensavers/Makefile.am: Fixes for make distcheck.
	* capplets/screensavers/magic.pl.in: Fix description parsing bug,
	  and fakepreview lost bug.
2001-08-10 17:55:36 +00:00
Carlos Perelló Marín
8902bd3632 Disabled desktop.png. It doesn't exists. Removed the xml.h generation
2001-08-10  Carlos Perelló Marín <carlos@gnome-db.org>

        * Makefile.am: Disabled desktop.png. It doesn't exists.
        * screensavers/Makefile.am: Removed the xml.h generation rule.

2001-08-10  Carlos Perelló Marín <carlos@gnome-db.org>

        * POTFILES.in: Fixed the screensaver files.
        * es.po: Updated Spanish translation.
2001-08-10 13:31:10 +00:00
Richard Hestilow
1d840a3813 Install all pixmaps. (pixmaps_DATA): Add blank-screen.png.
2001-08-09  Richard Hestilow  <hestilow@ximian.com>

	* Makeflie.am (EXTRA_DIST): Install all pixmaps.
	(pixmaps_DATA): Add blank-screen.png.

	* pref-file.c: Replace "programs" value with a regenerated
	string.
	(print_aligned_row): Added.
	(print_list_to_str): Added.

	* preferences.h (Screensaver): Add new fields "filename",
	"compat_command_line", "fakepreview", and "fakes",
	to deal with the new xml storage.
	(Preferences): Add new fields "savers_hash" and "invalidsavers".

	* preferences.c (screensaver_list_prepend_dir): Added.
	(screensaver_cmp_func): Added.
	(screensaver_list_load): Added.
	(preferences_new): Initialize savers_hash.
	(clean_saver_list): Added.
	(preferences_load): Load screensavers from xml.
	(parse_arg_default): Added.
	(screensaver_read_xml): Updated for the new format.
	(screensaver_new_from_file): Added.

	* prefs-widget.c (double_click_cb): Added.
	(): Remove right click menu, add double click handler.
	(model_is_cell_editable): Fix for etable bug.
	(random_timeout_cb): Avoid vidwhacker and webcollage.
	* preview.c: Optionally show fakepreview if set, and
	deal with compat_command_line, and refresh pixbufs.
	(command_exists): Renamed to rc_command_exists.

	* rc-parse.c: (parse_screensaver_list): Merely update
	the existing entries, via the provided hash.

	* screensaver-prefs-dialog.c (get_argument_data): Just
	find the xml file using ::filename.

	* screensavers/magic.pl.in: Added.
	* screensavers/Makefile.am: Generate .xml.h files for translators,
	and install all .xml files and .png files, and run magic.pl on
	make install.
2001-08-10 03:36:17 +00:00
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
Jose Maria Celorio
ab0fef8323 Fix fix fix fix fix & clean stuff. With their changelog entries for your
pleasure.
2001-07-18 06:36:24 +00:00
Carlos Perelló Marín
068c095238 Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to
2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * *.directory: Renamed to *.directory.in to be used with
        xml-i18n-tools.
        * *.desktop: Renamed to *.desktop to be used with xml-i18n-tools.
        * *.glade: Modified to not generate the glade.h files.
        * *.glade.h: Removed.
        * Makefile.am: Modify to use xml-i18n-tools
        * configure.in: ditto.
        * autogen.sh: ditto, now we use the macros/autogen.sh

2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * .cvsignore: ssshhhh

2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * screensavers/*.xml: /s/label/_label, /s/low-label/_low-label/,
        /s/high-label/_high-label/: Changed to let xml-i18n-tools extract
        this labels.
        * extract-labels.c: Removed, now, we use xml-i18n-tools.
        * preferences.c: /s/label/_label, /s/low-label/_low-label/,
        /s/high-label/_high-label/: Changed to sync with the xml changes.
        * screensaver-prefs-dialog.c: ditto.

2001-07-16  Carlos Perelló Marín <carlos@gnome-db.org>

        * no.po: Solved some conflicts with my patch.

2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * POTFILES.in: Updated to reflect the xml-i18n-tools use.
        * *.po: Added the .directory && .desktop translations.
        * update.*: Removed.
        * wa.po: Added.
        * es.po: Updated Spanish translation.
2001-07-16 17:04:18 +00:00
Jose Maria Celorio
dd5841ccc7 include the right headers, don't hack arround gnome-xml brokenes 2001-07-14 03:21:17 +00:00
Bradford Hovinen
aaaf56e71c Removed rules pertaining to sound-properties
2001-07-05  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am: Removed rules pertaining to
	sound-properties

	* capplets/sound-properties-capplet.c (set_moniker_cb): Change
	BonoboPropertyEditor to BonoboPEditor

	* configure.in: Update AC_INIT to use correct directory name
	(AC_OUTPUT): Update to current directory structure

	* Makefile.am (SUBDIRS): Update to current directory structure

	* capplets/Makefile.am (always_built_SUBDIRS): Updated to current
	directory structure

	* bonobo-moniker-archiver.c (archiver_resolve): Update call to
	Bonobo_ConfigDatabase_addDatabase

	* bonobo-config-archiver.h: Fix include directories

	* Makefile.am (INCLUDES): Update to use pkg-config standards; add
	BONOBO_CFLAGS
	Include configuration moniker-related material
	(SUBDIRS): Remove
	(bin_PROGRAMS): Added ximian-archiver

	* capplets/keyboard/prefs-widget.c (set_scale): Add appropriate casts

	* capplets/rollback/Makefile.am (INCLUDES):
	(rollback_capplet_LDADD): Update to include ximian_archiver stuff
	correctly
2001-07-05 17:27:44 +00:00
Bradford Hovinen
6fb797ca6b Implement. Create a copy of a preferences structure (clone_cb): Implement
2001-05-06  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_clone): Implement. Create a copy of a
	preferences structure
	(clone_cb): Implement
	(read_prefs_from_db): Parse screensavers from a copy of the string
	so that we don't overwrite the original

	* main.c (main): Call preferences_clone instead of reloading old
	preferences
2001-05-06 17:33:27 +00:00
Bradford Hovinen
7bfddd30e4 Fix segv
2001-05-05  Bradford Hovinen  <hovinen@ximian.com>

	* prefs-widget.c (one_screensaver_cb): Fix segv

	* screensavers/*.xml: Added test attribute to monochrome setting
2001-05-05 19:16:21 +00:00
Bradford Hovinen
eba544a091 Add check for libximian_archiver; try include cflags and libs only if the
2001-05-05  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in: Add check for libximian_archiver; try include
	cflags and libs only if the archiver is present *
	capplets/*/main.c: Add #ifdef's around anything that uses the
	Ximian archiver so that the capplets can compile without it
2001-05-05 14:19:03 +00:00
Bradford Hovinen (Gdict maintainer)
18ea732ecf From John B Tunison <jtunison@andrew.cmu.edu>:
Added xml files resulting from conversions from old .desktop files
2000-10-22 20:21:02 +00:00
Stanislav Brabec
c1453a3cc9 Created noinst_DATA, to not fail in po.
2000-10-16  Stanislav Brabec  <utx@penguin.cz>

        * capplets/new-screensaver-properties/screensavers/Makefile.am:
	Created noinst_DATA, to not fail in po.

	* po/fr.po: Bug fix.
2000-10-17 16:47:18 +00:00
Bradford Hovinen
6ac6997216 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
2000-10-14 16:05:59 +00:00
Bradford Hovinen
e5c0852368 Bumped version no to 1.3.1
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in: Bumped version no to 1.3.1

	* capplets/new-mouse-properties/Makefile.am (EXTRA_DIST): Remove
	erroneous ChangeLog entry
2000-10-08 22:53:44 +00:00
Bradford Hovinen
650b11cd19 Implement (show_screensaver): Call fix_arguments to handle quoted strings
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

	* preview.c (fix_arguments): Implement
	(show_screensaver): Call fix_arguments to handle quoted strings in
 	the command line
2000-10-08 18:56:27 +00:00
Bradford Hovinen
ed727e990f Enable selection for text and bitmap, Set neg_size same-as to pos_size
2000-10-07  Bradford Hovinen  <hovinen@helixcode.com>

	* screensavers/flag.xml: Enable selection for text and bitmap,
	Set neg_size same-as to pos_size
2000-10-07 17:28:11 +00:00
Kjartan Maraas
f5d986cff6 Quiet CVS 2000-09-29 12:39:27 +00:00
Bradford Hovinen (Gdict maintainer)
d4848e9baa Output Makefiles for new capplets; fix typo in one Makefile.am 2000-09-11 12:15:39 +00:00
Bradford Hovinen
99aa241dba Updated French translations Chnaged #include "config.h" to #ifdef
2000-09-10  Bradford Hovinen  <hovinen@helixcode.com>

        * po/fr.po: Updated French translations
        * all: Chnaged #include "config.h" to #ifdef HAVE_CONFIG_H ...
        * *.desktop, *.directory: Updated French translations
        * po/POTFILES.in: Added screensaver XML files

        Courtesy of Christophe Merlet <c.merlet@agglo-pau.fr>
2000-09-10 12:57:17 +00:00
Stanislav Brabec
87f2fbb3e6 Fix building in separate directory. 2000-08-17 19:20:50 +00:00
Bradford Hovinen (Gdict maintainer)
755dfdbe04 Added missing extract-labels.c 2000-08-14 15:04:00 +00:00
Bradford Hovinen
ce4b140d24 Added ant.xml, bsod.xml, compass.xml, and flag.xml (courtesy of James
2000-08-10  Bradford Hovinen  <hovinen@helixcode.com>

	* screensavers/Makefile.am (Screensavers_DATA): Added ant.xml,
	bsod.xml, compass.xml, and flag.xml (courtesy of James Antill
	<james@and.org>)
2000-08-10 14:51:00 +00:00
Bradford Hovinen (Gdict maintainer)
d9f43fff11 Added additional section on arithmetic expressions 2000-08-08 14:42:37 +00:00
Bradford Hovinen
164fe06c3f Added README
2000-08-07  Bradford Hovinen  <hovinen@helixcode.com>

	* screensavers/Makefile.am (EXTRA_DIST): Added README
2000-08-07 19:07:09 +00:00
Bradford Hovinen
122042e532 Allow values of multiple types
2000-08-07  Bradford Hovinen  <hovinen@helixcode.com>

	* expr.c: Allow values of multiple types

	* main.c (main): Don't initialize glade
2000-08-07 18:26:43 +00:00
Bradford Hovinen
148d8186a5 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
Bradford Hovinen (Gdict maintainer)
f743b85074 Added screensaver properties capplet 2000-07-31 20:07:10 +00:00