Commit graph

68 commits

Author SHA1 Message Date
Lauris Kaplinski
533c0f416b Fix crash on NULL values from GConf 2002-02-05 11:13:58 +00:00
Lauris Kaplinski
35e192827a Lot of little fixes to make it to compile without most of the deprecated stuff 2002-02-04 17:48:43 +00:00
Jonathan Blandford
d159298d55 remove unneeded files, and make naming more consistent 2002-01-08 21:24:41 +00:00
Jonathan Blandford
d317e2704e Add locate-pointer. Initial attempt at locate-pointer. Don't understand
Tue Jan  8 15:50:59 2002  Jonathan Blandford  <jrb@redhat.com>

	* Makefile.am: Add locate-pointer.
	* gnome-settings-keyboard.c: Initial attempt at locate-pointer.
	Don't understand XKB enough to figure it out.
	* gnome-settings-locate-pointer.[ch]: Draw the locate pointer
	box.  Pretty snazzy for a useless (but fun) feature.
	* gnome-settings-mouse.c:  Move locate pointer to it's own file.

Tue Jan  8 15:49:15 2002  Jonathan Blandford  <jrb@redhat.com>

	* .cvsignore: update
	* Makefile.am: Add gnome-keyboard-properties.c
	* gnome-keyboard-properties.c: New, much nicer capplet.
	* gnome-keyboard-properties.glade: glade file for above.
	* keyboard-bell.png:
	* keyboard-cursor.png:
	* keyboard-repeat.png:
	* keyboard-volume.png: Images for above.  Note,
	keyboard-cursor.png is my pathetic attempt at artwork, and will
	prolly change in the future.

Tue Jan  8 15:47:24 2002  Jonathan Blandford  <jrb@redhat.com>

	* .cvsignore: New ignores.
	* gnome-mouse-properties.glade: Update of glade file for cursors
	* mouse-cursor-normal-large.png: New images
	* mouse-cursor-normal.png:
	* mouse-cursor-white-large.png:
	* mouse-cursor-white.png:
	* mouse-properties-capplet.c: (setup_dialog), (create_dialog),
	(main): Add support for new properties.  Don't fully work yet, but
	we'll get it later.
	* mouse-properties.glade: not sure what changed -- need to remove
	this file.
2002-01-08 21:03:07 +00:00
Bradford Hovinen
1afc14e0c4 Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c: Eliminate compiler warnings
2001-12-20 20:23:36 +00:00
Bradford Hovinen
fb0d289855 Fold the callback back in; accept variable argument list with extra
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new): Fold the callback
	back in; accept variable argument list with extra parameters
	(gconf_peditor_new_filename): Return the property editor
	(gconf_peditor_new_string_valist): Split this out
	(gconf_peditor_new_string): Call _valist variant
	(gconf_peditor_new*): Update

	* */*-properties*.c: Update according to above
2001-12-20 20:14:59 +00:00
Bradford Hovinen
30389610b4 Add parameter GNOME_PARAM_APP_DATADIR
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/screensaver/main.c (main): Add parameter
	GNOME_PARAM_APP_DATADIR

	* mouse-properties-capplet.c (main): Add parameter
	GNOME_PARAM_APP_DATADIR

	* configure.in (GNOMECC_DESKTOP_DIR): Define
	(GNOMECC_DATA_DIR): Define
	Remove AC_DEFINE_UNQUOTED for the rest of the directories

	* All: Update to reflect above
2001-12-20 18:52:39 +00:00
Bradford Hovinen
2dd5ccf964 Update (main): Use a GtkDialog rather than a GnomeDialog; don't place a
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* *-properties*.c (dialog_button_clicked_cb): Update
	(main): Use a GtkDialog rather than a GnomeDialog; don't place a
	weak ref on gtk_main_quit
2001-12-20 18:21:12 +00:00
Bradford Hovinen
e70b2fb620 Update to reflect changes in gconf peditors (setup_dialog): Use
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (*_{to|from}_gconf): Update to
	reflect changes in gconf peditors
	(setup_dialog): Use numeric_range
2001-12-19 20:18:23 +00:00
Bradford Hovinen
bf698d95b1 Remove --apply and --init-session-settings
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (main): Remove --apply and
	--init-session-settings
2001-12-19 14:59:13 +00:00
Bradford Hovinen
b8fd80b0a1 Divide by 1000.0, use floats (double_click_to_gconf): Implement
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (double_click_from_gconf): Divide by
	1000.0, use floats
	(double_click_to_gconf): Implement
	(drawing_area_button_press_event): Don't call
	double_click_from_gconf
	(drawing_area_button_press_event): Use response of
	gconf_change_set_check_value to determine if value is in changeset

2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (double_click_from_gconf): Single
	closed-form formula here
	Code reorganization; many changes
2001-12-19 14:53:45 +00:00
Jonathan Blandford
48afecfd9c Rewrote mouse-properties capplet. 2001-12-16 08:23:09 +00:00
Bradford Hovinen
4b9ca59ec9 Only swap buttons 1 and 3 in the mapping
2001-10-18  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (apply_settings): Only swap buttons 1
	and 3 in the mapping
2001-10-19 02:37:29 +00:00
Chema Celorio
fee5ad7111 dont set the pixmaps (capplet_fool_the_linker):
2001-09-07  Chema Celorio  <chema@celorio.com>

	* mouse-properties-capplet.c (create_dialog): dont set the pixmaps
	(capplet_fool_the_linker):
	(mouse_capplet_create_image_widget):
	(mouse_capplet_create_image_widget_canvas): implement.
	This sets antialiased pixmaps for the mouse capplet. Maybe this
	call should in common. Closes bug #58293
2001-09-07 21:45:59 +00:00
Bradford Hovinen
b37d7f6897 Added exception RollbackDataNotFound Added exception LocationNotFound
2001-08-21  Bradford Hovinen  <hovinen@ximian.com>

	* idl/ConfigArchiver.idl: Added exception RollbackDataNotFound
	Added exception LocationNotFound

	* archive.c (archive_get_current_location_id): Use
	archive_create_location rather than location_new
	(archive_get_current_location_id): Unref the location once we have
	created it

	* archiver-client.c (location_client_load_rollback_data): Don't
	try to parse the XML file if there was an exception

	* bonobo-config-archiver.c (bonobo_config_archiver_new): Make sure
	to release_unref location and archive if aborting
	(bonobo_config_archiver_new): Reinitialize exception structure
	after we have succeeded

	* location.c (location_get_rollback_filename): Recurse on parent
	location if parent_chain is set to TRUE

	* archive.c (impl_ConfigArchiver_Archive_getLocation): Set the
	LocationNotFound exception if the location returned was NULL

	* location.c (impl_ConfigArchiver_Location_getRollbackFilename): Don't try

	* archive.c (impl_ConfigArchiver_Archive_getLocation): Don't try
	to CORBA_Object_duplicate the result if it is NULL
	(archive_get_location): Don't try to cast the result of
	location_open before we know whether it is non-NULL
	(impl_ConfigArchiver_Archive_createLocation): Call
	bonobo_object_from_servant on parent_ref->servant

	* location.c (location_destroy): Remove debugging message; make
	remaining debugging message more enlightening

	* archive.c (archive_get_child_locations): Rename from
	archive_foreach_child_location; rewrite to return a GList of child
	locations
	(impl_ConfigArchiver_Archive_getChildLocations): Use
	archive_get_child_locations
	(archive_destroy): Remove debugging message

	* bonobo-moniker-archiver.c (archive_resolve): Remove debugging
	messages

	* archive.c (archive_get_location): Remove debugging messages

	* config-log.c (dump_log): Remove debugging messages

	* archive.c (archive_foreach_child_location): Build a list first
	and then traverse it to avoid screwing up the tree traversal

	* mouse-properties-capplet.c (apply_settings): Use a CORBA
	exception structure
2001-08-22 13:56:23 +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
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
4937798114 Remove IMLIB check (GNOMECC_CAPPLETS_DESKTOP_IN_RULE): Add sed expression
2001-07-25  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in: Remove IMLIB check
	(GNOMECC_CAPPLETS_DESKTOP_IN_RULE): Add sed expression to cover
	macro DESKTOP_EXEC_LINE
	(LIBCOMMON_DIR): Add option --enable-bonobo-conf

	* all: Added support for optionally compiling without bonobo-conf enabled
2001-07-25 17:26:17 +00:00