Commit graph

519 commits

Author SHA1 Message Date
Bradford Hovinen (Gdict maintainer)
4e6a3b89d6 Added CORBA interface to the archiver 2001-08-20 15:47:57 +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
Kwok-Koon Cheung
11ef06833d Fixed a string. 2001-08-17 20:31:03 +00:00
Bradford Hovinen
145b5290e9 Adjust opacity value to 0...255 scale
2001-08-17  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (renderer_render_wallpaper): Adjust opacity value to
	0...255 scale

	* preferences.c (preferences_new_from_bonobo_pbag):
	(preferences_new_from_bonobo_db): Use correct check to disable
	opacity
2001-08-17 19:00:10 +00:00
Richard Hestilow
803f8907e8 Really override enabled this time. Really.
2001-08-13  Richard Hestilow  <hestilow@ximian.com>

	* background-properties-capplet.c (setup_dialog): Really
	override enabled this time. Really.
2001-08-13 19:35:41 +00:00
Richard Hestilow
199846f5c0 Only draw disabled message if do_preview. Actually, the user will never
2001-08-13  Richard Hestilow  <hestilow@ximian.com>

 	* applier.c (applier_apply_prefs): Only draw disabled message
 	if do_preview. Actually, the user will never see this because
 	the correct behavior (which is done) is to assume if they're
 	running capplet, prefs->enable should be TRUE. This is because
 	we are only honoring enable as a hacker-only setting.
 	(output_compat_prefs): Output the correct "Enable" setting.

 	* background-properties-capplet.c (get_legacy_settings): Support
 	the "Enabled" flag.

 	* preferences.c (preferences_new_from_bonobo_db): Import the
 	"enabled" flag. Note that this is not bothered with in the _pbag
 	function, because that's from the Proxy settings, which is only
 	used for the GUI capplet, which always sets enabled to True, because
 	this is a hacker-only option. Got it?

	* background-properties.xml: Add "enabled".
2001-08-13 18:39:08 +00:00
Richard Hestilow
5890f11b77 Fix for SM_SELECT_FROM_LIST mode.
2001-08-10  Richard Hestilow  <hestilow@ximian.com>

	* capplet/prefs-widget.c (random_timeout_cb): Fix for
	  SM_SELECT_FROM_LIST mode.
2001-08-10 18:42:41 +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
Bradford Hovinen
0496f98555 Fixed default delay setting
2001-08-09  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.xml: Fixed default delay setting
2001-08-09 19:43:29 +00:00
Bradford Hovinen (Gdict maintainer)
65867f06f2 Fixed default for opacity setting 2001-08-06 20:32:37 +00:00
Jose Maria Celorio
06d16ff133 Add DISTDIR to install-data-local 2001-08-01 04:02:20 +00:00
Bradford Hovinen
8973e3d6be Call setup_session_mgmt if --apply or --init-session-settings was passed
2001-07-30  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (capplet_init): Call setup_session_mgmt if --apply or
	--init-session-settings was passed
2001-07-30 15:17:29 +00:00
Bradford Hovinen (Gdict maintainer)
9137adbe17 Backed out the last commit 2001-07-27 22:00:22 +00:00
Richard Hestilow
4a76138680 Only draw disabled message if do_preview. Actually, the user will never
2001-07-27  Richard Hestilow  <hestilow@ximian.com>

	* applier.c (applier_apply_prefs): Only draw disabled message
	if do_preview. Actually, the user will never see this because
	the correct behavior (which is done) is to assume if they're
	running capplet, prefs->enable should be TRUE. This is because
	we are only honoring enable as a hacker-only setting.
	(output_compat_prefs): Output the correct "Enable" setting.

	* background-properties-capplet.c (get_legacy_settings): Support
	the "Enabled" flag.

	* preferences.c (preferences_new_from_bonobo_db): Import the
	"enabled" flag. Note that this is not bothered with in the _pbag
	function, because that's from the Proxy settings, which is only
	used for the GUI capplet, which always sets enabled to True, because
	this is a hacker-only option. Got it?
2001-07-27 19:34:55 +00:00
Richard Hestilow
2d9be3eb4e Don't go into an infinite loop if there are absolutely no enabled
2001-07-27  Richard Hestilow  <hestilow@ximian.com>

	* prefs-widget.c (random_timeout_cb): Don't go into an infinite
	loop if there are absolutely no enabled screensavers.
2001-07-27 18:21:44 +00:00
Bradford Hovinen
d063bb65b0 Fix val_ulong in the gradient case
2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (get_legacy_settings): Fix
	val_ulong in the gradient case
2001-07-27 18:09:06 +00:00
Bradford Hovinen
daf686feb0 Use MAX_THRESH - threshold value
2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (apply_settings): Use MAX_THRESH -
	threshold value
2001-07-27 17:19:58 +00:00
Bradford Hovinen
92d3e1119f Fix mouse speed and acceleration controls to be wider and to use discrete
2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties.glade: Fix mouse speed and acceleration
	controls to be wider and to use discrete values
2001-07-27 17:16:04 +00:00
Bradford Hovinen
09de3e80a5 Change type of right-to-left to ulong
2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties.xml: Change type of right-to-left to ulong

	* mouse-properties-capplet.c (apply_settings): Use get_ulong
	rather than get_boolean
2001-07-27 17:06:01 +00:00
Bradford Hovinen
33b3809115 1.5.2
2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* RELEASE : 1.5.2
2001-07-27 16:02:08 +00:00
Bradford Hovinen
c45e9f41c6 Remove empty SUBDIRS line
2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am: Remove empty SUBDIRS line
2001-07-27 15:41:40 +00:00
Bradford Hovinen
d81fdb9afb Removed empty SUBDIRS
2001-07-27  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am: Removed empty SUBDIRS
2001-07-27 15:26:06 +00:00
Bradford Hovinen
9db70e8ea7 Don't try to load the wallpaper if it's not enabled
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (applier_apply_prefs): Don't try to load the wallpaper
	if it's not enabled

	* preferences.c (preferences_new_from_bonobo_pbag): Use
	bonobo_property_editor_client_get_value_*
	(preferences_new_from_bonobo_pbag): Set gradient_enabled properly
	from property bag
	(preferences_new_from_bonobo_pbag): Check for wallpaper == "(none)"
	(preferences_new_from_bonobo_db): Ditto above
2001-07-27 02:49:48 +00:00
Bradford Hovinen
0336802107 Restore some lost tweaks from earlier.
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (renderer_render_wallpaper): Restore some lost tweaks
	from earlier.

	* preferences.c (preferences_init): strdup the home directory

	* applier.c: Store preview widget in the renderer, not the applier
	itself
2001-07-27 02:15:42 +00:00
Bradford Hovinen
4e921471d4 Add a "(none)" string to the history
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (create_dialog): Add a "(none)"
	string to the history
2001-07-27 01:48:44 +00:00
Richard Hestilow
dae9cccc0e Remove all bonobo-conf stuff.
2001-07-26  Richard Hestilow  <hestilow@ximian.com>

	* applier.c: Remove all bonobo-conf stuff.

	* preferences.[ch]: New functions preferences_new_from_bonobo_pbag
	and preferences_new_from_bonobo_db.
2001-07-27 01:43:48 +00:00
Bradford Hovinen
cf7a5fe568 Tweak borders and padding
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties.glade: Tweak borders and padding
2001-07-27 01:33:19 +00:00
Joakim
0bd8ccb935 Fixed the delay label to make it more intuitive. 2001-07-27 00:13:40 +00:00
Bradford Hovinen
718678eaf9 Tweak the numbers a bit
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c	(apply_settings): Tweak the numbers a bit
2001-07-26 21:22:13 +00:00
Bradford Hovinen
71942b3edf Initialize the other fields of this data structure (apply_settings): Use
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c (apply_settings): Initialize the other
	fields of this data structure
	(apply_settings): Use lookup table to get the values to put in
	kbdsettings
2001-07-26 20:59:58 +00:00
Bradford Hovinen
b9b13ebbbc Initialize the other fields of this data structure
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c (apply_settings): Initialize the other
	fields of this data structure
2001-07-26 20:36:30 +00:00
Bradford Hovinen
ed568135a0 Remove bonobo-property-editor-range.[ch]
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (bonobo_sources): Remove bonobo-property-editor-range.[ch]
2001-07-26 20:08:07 +00:00
Bradford Hovinen
a057d3d097 Don't sync the database if retrieving legacy setings before creating the
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (capplet_init): Don't sync the database if
	retrieving legacy setings before creating the factory
	(create_control_cb): Create the config database ourselves
	(pf_destroy_cb): Remove evil hackery
	(get_control_cb): Ditto
	(create_control_cb): Support multiple property control objects --
	use a GtkObject called ref_obj to make sure the program quits when
	there are no such objects left
	(capplet_init): Pass default_moniker to factory callback;
	release_unref the db ourselves
	(get_control_cb): Support multiple controls; soak in global
	control and widget variables
	(legacy_is_modified): Remember to unref the property bag
	(quit_cb): Allow being called more than once
	(quit_cb): Unref ref_obj here
	(create_control_cb): Eliminate second signal connection
	(real_quit_cb): Free the pair structure
	(all_done_cb): Implement. Just add gtk_main_quit to the idle
	handler list
	(create_control_cb): Connect destroy signal of ref_obj to
	all_done_cb
2001-07-26 19:56:56 +00:00
Bradford Hovinen
74b195efee Remove debugging code
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (renderer_render_wallpaper): Remove debugging code
2001-07-26 19:00:07 +00:00
Bradford Hovinen
2bb839d277 Tweak geometry settings (renderer_render_wallpaper): Rendering geometry
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (get_geometry): Tweak geometry settings
	(renderer_render_wallpaper): Rendering geometry fixes
2001-07-26 18:40:11 +00:00
Bradford Hovinen
804c0a33d5 Tweak geometry settings
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (get_geometry): Tweak geometry settings
2001-07-26 17:20:45 +00:00
Bradford Hovinen
4e0ca4cae4 Make sure not to scale the pixbuf if the wallpaper type is centered
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (renderer_render_wallpaper): Make sure not to scale
	the pixbuf if the wallpaper type is centered
2001-07-26 17:04:56 +00:00
Bradford Hovinen
6dbe99f68a Accept applier as argument; retrieve property bag from applier
2001-07-26  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (property_change_cb): Accept
	applier as argument; retrieve property bag from applier
	(realize_cb): Retrieve applier from widget
	(setup_dialog): Store property bag in applier

	* applier.c (renderer_new): Store applier inside renderer; accept
	applier as function parameter

	* background-properties-capplet.c (create_dialog): Store the
	applier inside the widget

	* applier.c (struct _ApplierPrivate ): Define preview_widget here
	rather than globally
	(applier_get_preview_widget): Make this a method of the applier class
2001-07-26 16:07:40 +00:00
Chema Celorio
27537ac631 remove the OAF_FILE_IN_RULE and copy it here (bonobo_sources): add
2001-07-25  Chema Celorio  <chema@celorio.com>

	* Makefile.am: remove the OAF_FILE_IN_RULE and copy it here
	(bonobo_sources): add bonobo-properties-editor-range.[ch]

	* Makefile.am: remove the DESKTOP_IN_RULE and copy the sed here
2001-07-26 04:46:25 +00:00
Jose Maria Celorio
09da551904 add pixmap_DATA to EXTRA_DIST 2001-07-26 03:33:40 +00:00
Jose Maria Celorio
2437a1f326 shh 2001-07-26 02:19:13 +00:00
Jose Maria Celorio
4923571fb6 .oaf.in -> .oaf 2001-07-26 02:17:26 +00:00
Chema Celorio
19532780e0 generate the .oaf file from the .oaf.in file The DESKTOP_EXEC_LINE was
2001-07-25  Chema Celorio  <chema@celorio.com>

	* Makefile.am : generate the .oaf file from the .oaf.in file
	The DESKTOP_EXEC_LINE was missing the --capplet at the end, add.
2001-07-26 02:16:46 +00:00
Jose Maria Celorio
baba8dddd0 Remove the desktop_IN_RULE. Althou it sounds nice cause we have a central
location to set it up, it causes problems in some configruations.
2001-07-26 01:49:13 +00:00
Jose Maria Celorio
a4d165d70d remove the OAF_FILE_IN_RULE and add it to each Makefile.am 2001-07-26 00:47:51 +00:00
Chema Celorio
ed8294c240 scape correctly the OAF_FILE_IN_RULE, it was not escaped before but for
2001-07-25  Chema Celorio  <chema@celorio.com>

	* configure.in (GNOMECC_CAPPLETS_OAF_FILE_IN_RULE): scape correctly the
	OAF_FILE_IN_RULE, it was not escaped before but for some reason it didn't
	generated and error

	* capplets/Makefile.am (SUBDIRS): we need to build LIBCOMMON_DIR
	before the capplets cause the capplets link with ../common/libcommon.a
2001-07-26 00:06:09 +00:00
Bradford Hovinen
ab0bce68b1 Fix macro name
2001-07-25  Bradford Hovinen  <hovinen@ximian.com>

	* prefs-widget.c (prefs_widget_init): Fix macro name

	* main.c (main): Fix macro name
2001-07-25 17:42:05 +00:00