Commit graph

38 commits

Author SHA1 Message Date
Bill Haneman
be432c9acb Use a peditor for the visual bell instead.
Fri Jun  6 19:16:43 2003  Jonathan Blandford  <jrb@gnome.org>

	* sound-properties-capplet.c (bell_flash_to_widget),
	(bell_flash_from_widget): Use a peditor for the visual bell
	instead.

2003-06-06  Bill Haneman <bill.haneman@sun.com>

	* sound-properties.glade:
	Added page tab and UI from "visual bell" capplet
	(UI originally from Calum, except for ugly icon)

	* visual-bell.png:
	Ugly new icon which needs TLC from Calum.

	* sound-properties-capplet.c:
	Added gconf keys for visual bell feature and control of
	audio bell.
	(visual_bell_type_changed): New, called when visual bell radiobuttons
	are toggled.
	(create_dialog):
	Set the image on the "System Bell" notebook tab.
	(setup_dialog):
	Added peditors for visual-bell and audio-bell checkboxes/gconf keys.
	Added guards for the visual-bell type buttons, controlled by
	the visual-bell-enabling checkbox.
	Connected visual_bell_type_changed to "toggled" signal on radiobuttons.
2003-06-06 23:20:37 +00:00
Alex Duggan
21e7d16ff8 use appropriate window border icon.
2003-04-30  Alex Duggan  <aldug@astrolinux.com>

	* sound-properties-capplet.c: use appropriate
	window border icon.
2003-05-01 05:31:42 +00:00
Kjartan Maraas
60980d0fe5 Merge from stable branch 2003-04-29 17:52:40 +00:00
Federico Mena Quintero
193f017be8 Do not pass -1 for the dialog flags; just pass GTK_DIALOG_NO_SEPARATOR.
2002-07-31  Federico Mena Quintero  <federico@ximian.com>

	* sound-properties-capplet.c (main): Do not pass -1 for the dialog
	flags; just pass GTK_DIALOG_NO_SEPARATOR.  Fixes #89408 and #88614.
2002-08-01 02:12:51 +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
Jody Goldberg
97d5856b53 fix help path
2002-05-08  Jody Goldberg <jody@gnome.org>

	* sound-properties-capplet.c (dialog_button_clicked_cb) : fix help path

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

	* sound-properties-capplet.c (main) : add help.
	(dialog_button_clicked_cb) : support help and support WM based exit.
2002-05-08 15:24:50 +00:00
Richard Hestilow
25e832d716 Add mnemonics.
2002-03-27  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties.glade: Add mnemonics.

	* sound-properties-capplet.c (create_dialog): Connect to
	properties so we know when to save.
2002-03-28 01:10:53 +00:00
Seth Nickell
024ad269ad Activate the settings daemon if its not already running.
2002-03-10  Seth Nickell  <snickell@stanford.edu>

	* main.c: (main):
	* sound-properties-capplet.c: (main):

	Activate the settings daemon if its not already running.
2002-03-11 01:52:13 +00:00
Richard Hestilow
09ad7fc6c4 Okay, so I'm an idiot.
2002-03-07  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties-capplet.c (main): Okay, so I'm an idiot.
2002-03-08 01:26:31 +00:00
Richard Hestilow
9baad113aa Okay, so I'm an idiot.
2002-03-07  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties-capplet.c (main): Okay, so I'm an idiot.
2002-03-07 22:58:10 +00:00
Richard Hestilow
1c6664a71b Remove textdomain stuff. I'm not 100% certain this is correct, but none of
2002-03-06  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties-capplet.c (main): Remove textdomain stuff.
	I'm not 100% certain this is correct, but none of the other capplets
	have it.
2002-03-07 01:55:39 +00:00
Lauris Kaplinski
9a3e95aa2d Do not include unused <esd.h>
2002-03-07  Lauris Kaplinski  <lauris@ximian.com>

	* sound-properties-capplet.c: Do not include unused <esd.h>
2002-03-07 01:22:59 +00:00
Kjartan Maraas
cdd8985d77 s/PACKAGE/GETTEXT_PACKAGE/g
2002-02-27  Kjartan Maraas  <kmaraas@gnome.org>

	* sound-properties-capplet.c: s/PACKAGE/GETTEXT_PACKAGE/g
2002-02-27 22:18:25 +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
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
Richard Hestilow
53a008eb3c Port to GNOME 2.0.
2002-01-08  Richard Hestilow  <hestilow@ximian.com>

	* Port to GNOME 2.0.
2002-01-08 14:58:12 +00:00
Richard Hestilow
41656bd6f2 Add libsounds.a.
2001-11-18  Richard Hestilow  <hestilow@ximian.com>

	* Makefile.am (sound_properties_control_LDADD): Add libsounds.a.

	* prefs-widget.c (apply_settings): Export our settings to
	gnome-config (needed by gnome-libs). Also save and reload event
	sounds.
	(create_dialog): Add a SoundView on the sound events.

	* sound-properties.glade: Add a tab for the sound events.
2001-11-18 08:14:16 +00:00
Richard Hestilow
460ee8f15e Pass in legacy files to capplet_init. (get_legacy_settings): Use the
2001-07-24  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties-capplet.c (main): Pass in legacy files to
	capplet_init.
	(get_legacy_settings): Use the "Main" config prefix.
2001-07-25 03:13:28 +00:00
Bradford Hovinen
1dcdf75859 Make sure ESD gets killed if it's supposed to
2001-07-23  Bradford Hovinen  <hovinen@ximian.com>

	* sound-properties-capplet.c (apply_settings): Make sure ESD gets
	killed if it's supposed to
2001-07-23 21:18:49 +00:00
Bradford Hovinen
ad85aa7e6e Don't adjust pixmap width
2001-07-23  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (renderer_render_wallpaper): Don't adjust pixmap width
2001-07-23 20:31:15 +00:00
Bradford Hovinen
41429f4685 Store listener id in property control (quit_cb): Remove listener before
2001-07-18  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (create_control_cb): Store listener id in
	property control
	(quit_cb): Remove listener before releasing database
	(set_moniker_cb): Kill any existing db object in case the moniker
	is set more than once
	(set_moniker_cb): Connect destroy signal on pf to pf_destroy_cb
	(pf_destroy_cb): Implement
2001-07-19 01:01:58 +00:00
Richard Hestilow
67abfb5e85 Revert that.
2001-07-18  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties-capplet.c (create_dialog): Revert that.
2001-07-18 18:52:41 +00:00
Richard Hestilow
574cfdef9d Change to reflect new prototype.
2001-07-18  Richard Hestilow  <hestilow@ximian.com>

	* sound-properties-capplet.c (create_dialog): Change to reflect
	new prototype.
2001-07-18 16:13:15 +00:00
Bradford Hovinen
43d56c8e68 Removed -DGLADE_DATADIR
2001-07-17  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (INCLUDES): Removed -DGLADE_DATADIR

	* capplet-util.c (create_dialog_cb): Use create_widget_cb rather
	than loading from Glade
	(capplet_init): Accept CreateDialogFn and initialize
	create_dialog_cb
	(close_cb): Don't call gtk_object_destroy (dialog)
	(get_control_cb): Rename from create_dialog_cb

	* sound-properties-capplet.c (create_dialog): Implement
	(main): Call glade_gnome_init; pass create_dialog to capplet_init
	(setup_dialog): Retrieve the Glade data from the widget passed to
	this function
	(create_dialog): Make sure dialog is destroyed when widget is

	* Makefile.am (EXTRA_DIST): Changed Applications_DATA to
	Applications_in_files
	(INCLUDES): Add -DGLADE_DATADIR
2001-07-17 18:34:44 +00:00
Bradford Hovinen
76ce4bd35a Sensitize events check box only if ESD is already enabled
2001-07-17  Bradford Hovinen  <hovinen@ximian.com>

	* sound-properties-capplet.c (setup_dialog): Sensitize events
	check box only if ESD is already enabled
2001-07-17 15:29:57 +00:00
Bradford Hovinen (Gdict maintainer)
159178f15d Added common library in capplets/common
Moved code from capplets/sound/sound-properties-capplet.c to common library
2001-07-13 18:51:28 +00:00
Bradford Hovinen
78d0bbfbdb Resolve configuration database and store in property frame (apply_cb):
2001-07-13  Bradford Hovinen  <hovinen@ximian.com>

	* sound-properties-capplet.c (set_moniker_cb): Resolve
	configuration database and store in property frame
	(apply_cb): Retrieve configuration database from property frame
	(create_control_cb): Don't store config database in property
	control
	(create_control_cb): Add listener for property change in config
	database
	(changed_cb): Implement
2001-07-13 17:20:01 +00:00
Bradford Hovinen
4f09b08432 Disable launch of esd, due to esd's general suckiness
2001-07-12  Bradford Hovinen  <hovinen@ximian.com>

	* sound-properties-capplet.c (apply_settings): Disable launch of
	esd, due to esd's general suckiness
2001-07-12 21:40:03 +00:00
Bradford Hovinen
3804a229da Update to use correct names for settings
2001-07-12  Bradford Hovinen  <hovinen@ximian.com>

	* sound-properties.xml: Update to use correct names for settings

	* sound-properties-capplet.c (set_moniker_cb): Change event_sound
	to event_sounds
2001-07-12 19:42:51 +00:00
Bradford Hovinen (Gdict maintainer)
6efd5666e3 Indentation tweak 2001-07-12 14:13:08 +00:00
Bradford Hovinen
3395c90a5d Add sound-properties
2001-07-10  Bradford Hovinen  <hovinen@ximian.com>

        * default-user.xml: Add sound-properties

        * sound-properties-capplet.c (get_legacy_settings): Sync database
2001-07-11 02:22:46 +00:00
Bradford Hovinen
858feb0824 Make full moniker (apply_settings): Release the return value (main):
2001-07-10  Bradford Hovinen  <hovinen@ximian.com>

	* sound-properties-capplet.c (set_moniker_cb): Make full moniker
	(apply_settings): Release the return value
	(main): Support --get-legacy option
	(get_legacy_settings): Implement
	(create_control_cb): Connect apply_cb
	(COPY_FROM_LEGACY): Use bonobo_config_set_...
	(main): Open config database regardless of what operation is
	requested; pass to create_control callback
	(apply_settings): Use bonobo_config_get_...
	(get_legacy_settings):
	(apply_settings): Don't accept CORBA_Environment *ev any more
	(create_control_cb): Store the config database in the property control
	(apply_settings): Use the correct setting name
	(apply_cb): Apply settings and sync
	(apply_settings): Kill esd when requested

	* capplet-dir.c (capplet_ok_cb): Notify property control of apply
	action
	(capplet_control_launch): Store PropertyControl in app
2001-07-10 18:27:43 +00:00
Bradford Hovinen
18e8de9ef6 Don't accept PropertyBag interface
2001-07-10  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-moniker-archiver.c (archiver_resolve): Don't accept
	PropertyBag interface

	* sound-properties-capplet.c (set_moniker_cb): Make full moniker

	* sound-properties.xml: Fixed path name
2001-07-10 14:00:15 +00:00
Bradford Hovinen
c09362e12a Use .gnome/capplet-archive rather than .gnome/control-center
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_load): Use .gnome/capplet-archive rather than
	.gnome/control-center

	* sound-properties-capplet.c (create_control_cb): Implement
	(main): Use create_control_cb

	* Bonobo_Control_Capplet_sound_properties.oaf: Use PropertyControl
	interface

	* sound-properties-capplet.c (create_dialog_cb): Update signature
	for use as a BonoboPropertyControlGetControlFn

	* capplet-dir.c (capplet_control_launch): Create a control by
	first retrieving the PropertyControl and then extracting the
	control from it
	(capplet_control_launch): Connect button signals
	(capplet_cancel_cb): Implement. Just destroy the app widget
	(capplet_ok_cb): Ditto.
	(capplet_control_launch): Don't use a BonoboArg when setting the
	property
2001-07-09 18:36:10 +00:00
Bradford Hovinen
749a018ee9 Don't destroy the widget -- it's already destroyed
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* sound-properties-capplet.c (close_cb): Don't destroy the widget
	-- it's already destroyed
2001-07-09 14:14:47 +00:00
Bradford Hovinen (Gdict maintainer)
983317bc5e New sound properties capplet import 2001-07-09 13:29:14 +00:00