Commit graph

46 commits

Author SHA1 Message Date
Jonathan Blandford
22e9266f78 add support for Xcursors.
Fri Aug  1 13:06:04 2003  Jonathan Blandford  <jrb@redhat.com>

	* gnome-mouse-properties.c (create_dialog): add support for
	Xcursors.
2003-08-01 17:36:57 +00:00
Jonathan Blandford
0384b385bc remove the float_to_int conversion as the peditor already does that.
Thu Jul 24 16:14:33 2003  Jonathan Blandford  <jrb@redhat.com>

        * gnome-mouse-properties.c (setup_dialog): remove the float_to_int
        conversion as the peditor already does that.
2003-07-24 21:14:33 +00:00
Kjartan Maraas
60980d0fe5 Merge from stable branch 2003-04-29 17:52:40 +00:00
Jonathan Blandford
bd160edddf Patch from Kjartan Maraas to fix a bunch of leaks.
Thu Feb 13 18:51:37 2003  Jonathan Blandford  <jrb@redhat.com>

        * capplets/common/gconf-property-editor.c: (gconf_peditor_new):
        * capplets/common/gnome-theme-info.c: (read_meta_theme),
        (update_theme_index), (update_common_theme_dir_index),
        (top_theme_dir_changed), (top_icon_theme_dir_changed),
        (add_common_theme_dir_monitor), (real_add_top_theme_dir_monitor):
        * capplets/default-applications/gnome-default-applications-properti
        es.c: (initialize_default_applications), (read_editor),
        (read_terminal):
        * capplets/file-types/mime-edit-dialog.c: (fill_dialog):
        * capplets/file-types/mime-type-info.c: (load_all_mime_types):
        * capplets/file-types/mime-types-model.c:
        (mime_types_model_get_value):
        * capplets/font/main.c: (font_render_get_gconf), (enum_group_load):
        * capplets/mouse/gnome-mouse-properties.c: (read_cursor_font),
        (cursor_changed):
        * capplets/theme-switcher/gnome-theme-details.c:
        (window_theme_selection_changed):
        * capplets/theme-switcher/gnome-theme-manager.c:
        (meta_theme_selection_changed):
        * capplets/theme-switcher/theme-thumbnail.c:
        (generate_theme_thumbnail):
        * libsounds/sound-properties.c: (sound_properties_add_directory),
        (sound_properties_add_file):
        * libsounds/sound-view.c: (compare_func):
        * libwindow-settings/gnome-window-manager.c:
        (gnome_window_manager_new): Patch from Kjartan Maraas to fix a
        bunch of leaks.
2003-02-14 00:02:50 +00:00
Rajkumar Sivasamy
b0184362c0 Utility file to register the images used by capplets as stock-icons
2003-01-08  Rajkumar Sivasamy  <rajkumar.siva@wipro.com>

        * capplets/common/capplet-stock-icons.[ch]: Utility file to register
        the images used by capplets as stock-icons

        * capplets/common/Makefile.am: Changes to include the above file

        * capplets/keyboard/gnome-keyboard-properties.c:
        * capplets/accessibility/keyboard/accessibility-keyboard.c:
        Use stock-icons

        * capplets/mouse/Makefile.am:
        * capplets/mouse/gnome-mouse-properties.c:
        Use stock-icons. Also register the icons through capplet-stock-icons.[ch]
        instead of doing it here.

        Fixes Bug 101977
2003-01-08 07:04:42 +00:00
Jody Goldberg
de3fad8d1a Release 2.1.2
2002-11-02  Jody Goldberg <jody@gnome.org>

	* Release 2.1.2
2002-11-02 19:03:15 +00:00
Jody Goldberg
76214e33c0 missed commit 2002-07-17 03:17:54 +00:00
Jody Goldberg
52d3daae86 set icon.
2002-07-16  Jody Goldberg <jody@gnome.org>

	* gnome-mouse-properties.c (main) : set icon.
2002-07-16 20:26:02 +00:00
Jody Goldberg
1166d998bf http://bugzilla.gnome.org/show_bug.cgi?id=85233 register the custom
2002-07-10  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=85233
	* gnome-mouse-properties.c (create_dialog) : register the custom
	  checkbox for glade.
	* gnome-mouse-properties.glade : Use the custom checkbox.
2002-07-10 15:43:45 +00:00
Satyajit Kanungo
b4123f15b1 capplet_help () The Help directory is changed to user-guide.
2002-05-28 Satyajit Kanungo <satyajit.kanungo@wipro.com>

	* capplet-util.c : capplet_help () The Help directory is changed to
	  user-guide.
2002-05-29 04:14:29 +00:00
Jody Goldberg
bd493373d2 Improve help handling.
Improve help handling.

2002-05-26  Jody Goldberg <jody@gnome.org>

	* capplet-util.c (capplet_help) : new utility.

2002-05-24  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_category_info_load_all) : make this more paranoid.
	* mime-category-edit-dialog.c (update_subcategories) : Move this over
	  here.

2002-05-17  Jody Goldberg <jody@gnome.org>

	* mime-type-info.c (mime_category_info_using_custom_app) : add some
	  protection.
2002-05-27 02:54:19 +00:00
Jonathan Blandford
6985207425 Use APPID instead of argv[0] for gnome-program-init 2002-05-26 16:11:37 +00:00
jacob berkman
4cfbde20e8 use .pcf, not .pcf.gz as solaris can't read .gz files
2002-05-22  jacob berkman  <jacob@ximian.com>

	* *.pcf(.gz):
	* Makefile.am (cursorfont_DATA):
	* gnome-mouse-properties.c (setup_dialog): use .pcf, not .pcf.gz
	as solaris can't read .gz files

	fixes #78023
2002-05-22 20:53:57 +00:00
Jonathan Blandford
b8d526624b fix broken double-click test.
Tue May 21 20:09:22 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-mouse-properties.c (event_box_button_press_event): fix
	broken double-click test.
2002-05-22 00:08:37 +00:00
Jonathan Blandford
b87cde513f try to scroll to theme. Currently appears to be a little broken somewhere.
Tue May 14 12:29:35 2002  Jonathan Blandford  <jrb@redhat.com>

	* theme-switcher.c (read_themes): try to scroll to theme.
	Currently appears to be a little broken somewhere.

Tue May 14 12:08:17 2002  Jonathan Blandford  <jrb@redhat.com>

	* theme-common.c (theme_common_init): confirm that the ~/.themes/
	directory exists.
Also:
Clean up ui-props a little.
commit fix to mouse properties
2002-05-14 16:34:14 +00:00
Jonathan Blandford
fa7e54c907 uncomment accidentally commented lines. Also, fixed text, #76413
Mon May 13 16:53:45 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-mouse-properties.c (main): uncomment accidentally
	commented lines.  Also, fixed text, #76413
2002-05-13 20:56:35 +00:00
Anders Carlsson
8145d7fa30 Lots of things. Fix drag threshold preference, use a GtkImage instead of a
2002-05-12  Anders Carlsson  <andersca@gnu.org>

	* gnome-mouse-properties.c: (drag_threshold_from_gconf),
	(drag_threshold_to_gconf), (event_box_button_press_event),
	(load_pixbufs), (setup_dialog), (create_dialog),
	(dialog_response_cb), (main):
	* gnome-mouse-properties.glade:
	Lots of things. Fix drag threshold preference, use a GtkImage
	instead of a GtkDrawingArea for the double click test. Remove
	weird weak refs throughout the code. Clean up the glade file,
	requires a new libglade that has an a11y ref count fix.
2002-05-12 09:04:14 +00:00
Anders Carlsson
760753c7b1 If the threshold or acceleration value is -1, just set the slider to the
2002-05-10  Anders Carlsson  <andersca@gnu.org>

	* gnome-mouse-properties.c: (get_default_mouse_info),
	(motion_acceleration_from_gconf), (threshold_from_gconf):
	If the threshold or acceleration value is -1, just set the slider
	to the default X value.
2002-05-10 19:28:56 +00:00
Jody Goldberg
6eed1b852a enable help. (main) : ditto.
2002-05-09  Jody Goldberg <jody@gnome.org>

	* gnome-mouse-properties.c (dialog_button_clicked_cb) : enable help.
	(main) : ditto.
2002-05-09 18:00:57 +00:00
Jonathan Blandford
6f1fa592ec Change gnome2-* to gnome-* ditto ditto ditto ditto ditto ditto ditto ditto
Tue Apr  9 11:43:08 2002  Jonathan Blandford  <jrb@gnome.org>

	* capplets/accessibility/keyboard/Makefile.am: Change gnome2-* to
	gnome-*
	* capplets/default-applications/Makefile.am: ditto
	* capplets/file-types/Makefile.am: ditto
	* capplets/font/Makefile.am: ditto
	* capplets/keyboard/Makefile.am: ditto
	* capplets/mouse/Makefile.am: ditto
	* capplets/sound/Makefile.am: ditto
	* capplets/theme-switcher/Makefile.am: ditto
	* capplets/ui-properties/Makefile.am: ditto
	* control-center/Makefile.am: ditto
	* gnome-settings-daemon/Makefile.am: ditto

	* gnome-keybinding-properties.c (setup_dialog): man, was this code
	silly.  Also, themes are case sensitive.
	(is_metacity_running): Add support for metacity keybindings.  This
	is off by default until I write code to actually detect metacity.

Tue Apr  9 11:58:10 2002  Jonathan Blandford  <jrb@gnome.org>

	* Makefile.am: Add commented out disk support until I finish the code.
2002-04-10 06:08:08 +00:00
Dave Camp
e57703533e Add the peditor arguments. (setup_dialog): Use locate_pointer instead of
2002-03-21  Dave Camp  <dave@ximian.com>

	* gnome-mouse-properties.c (*_{to|from}_gconf): Add the peditor
	arguments.
	(setup_dialog): Use locate_pointer instead of locate_pointer_id.
	(threshold_to_gconf): New function.
	(setup_dialog): Use threshold_to_gconf for motion_threshold and
	drag_threshold.
2002-03-21 15:24:20 +00:00
Richard Hestilow
de151bab0f Check for changeset != NULL before looking in changeset.
2002-03-11  Richard Hestilow  <hestilow@ximian.com>

	* gnome-mouse-properties.c (drawing_area_button_press_event):
	Check for changeset != NULL before looking in changeset.
2002-03-12 05:20:46 +00:00
Seth Nickell
a4e49d3f74 Activate the settings daemon if its not already running.
2002-03-10  Seth Nickell  <snickell@stanford.edu>

	* gnome-mouse-properties.c: (main):

	Activate the settings daemon if its not already running.
2002-03-11 01:46:13 +00:00
Lauris Kaplinski
0335c74339 Fixed carsh on keypresses in icon view, added item activation on enter 2002-03-10 15:04:22 +00:00
Kjartan Maraas
75db1e44bd s/PACKAGE/GETTEXT_PACKAGE/g
2002-02-27  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-mouse-properties.c: s/PACKAGE/GETTEXT_PACKAGE/g
2002-02-27 22:17:05 +00:00
Jonathan Blandford
03509906b6 Hook up cursor code.
Tue Feb 19 23:52:17 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-mouse-properties.c (cursor_font_changed): Hook up cursor code.

Tue Feb 19 23:53:06 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-font.c: set the font path and handle cursors.
2002-02-20 05:11:10 +00:00
Richard Hestilow
31ac49063f Committed instant-apply patch sans background.
2002-02-11  Richard Hestilow  <hestilow@ximian.com>

	* Committed instant-apply patch sans background.
2002-02-12 06:16:11 +00:00
Jonathan Blandford
97ce2a3f27 install cursor images.
Fri Feb  8 01:41:40 2002  Jonathan Blandford  <jrb@redhat.com>

	* Makefile.am (pixmap_DATA): install cursor images.
2002-02-08 07:05:04 +00:00
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