Commit graph

9 commits

Author SHA1 Message Date
Richard Hestilow
478912430c Initial GNOME2 port.
2001-12-01  Richard Hestilow  <hestilow@ximian.com>

	* Initial GNOME2 port.
2001-12-02 04:54:32 +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
Richard Hestilow
bce60c194e New function show_blank_preview.
2001-07-03  Richard Hestilow  <hestilow@ximian.com>

	* preview.[ch]: New function show_blank_preview.

	* prefs-widget.c (prefs_widget_set_mode): Call show_blank_preview
	if set to disabled or blank screen.
	(selection_changed_cb): Don't show the preview if mode is set to
	disabled or blank screen.
2001-07-25 09:31:58 +00:00
Jose Maria Celorio
35d967aed2 clean this mess. 2001-07-18 03:21:07 +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
dd169482d6 Check for putenv and setenv and set appropriate macros in config.h
2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in: Check for putenv and setenv and set appropriate
	macros in config.h

2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* preview.c (setup_path): Use setenv only when available, try to
	use putenv otherwise
2000-08-18 19:13:07 +00:00
Bradford Hovinen
b83773c0f4 Map window before showing screensaver (close_preview): Unmap window after
2000-08-10  Bradford Hovinen  <hovinen@helixcode.com>

	* preview.c (show_preview): Map window before showing screensaver
	(close_preview): Unmap window after killing screensaver
2000-08-10 12:21:00 +00:00
Bradford Hovinen
caa9b7c95e Use get_screensaver_dir_list; iterate through all the directories listed
2000-08-09  Bradford Hovinen  <hovinen@helixcode.com>

	* preview.c (setup_path): Use get_screensaver_dir_list; iterate
	through all the directories listed in list; use g_getenv

	* rc-parse.c (get_screensaver_dir_list): Make public, cache
	return value
	(command_exists): Don't cache screensaver_dir_list
2000-08-09 18:10:15 +00:00
Bradford Hovinen (Gdict maintainer)
2830dc67b3 Added new screensaver properties capplet 2000-07-31 20:06:12 +00:00