Commit graph

65 commits

Author SHA1 Message Date
Gediminas Paulauskas
9f8ed1254f retrieve translation in utf-8 codeset. Do not setlocale (). remove intl.
2001-12-09  Gediminas Paulauskas <menesis@delfi.lt>

	* *.c (main): retrieve translation in utf-8 codeset. Do not
	setlocale ().
	* some Makefile.am (INCLUDES): remove intl.
	(..._LDADD): remove INTLLIBS
2001-12-09 12:23:40 +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
Bradford Hovinen (Gdict maintainer)
86192c772e Removed HAVE_BONOBO from acconfig.h
Fixed capplet Makefile.am's. Some porting for control-center/main.c
2001-11-10 20:55:08 +00:00
Bradford Hovinen
3611eb3a6a Remove screensaver from always_built_SUBDIRS and add $(SCREENSAVER) to
2001-10-26  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am: Remove screensaver from
	always_built_SUBDIRS and add $(SCREENSAVER) to SUBDIRS

	* capplets/{background|keyboard|mouse|sound}/Makefile.am:
	Fix so that automake does not choke on these files
2001-10-26 19:17:07 +00:00
Bradford Hovinen
4b6d9f7f99 Try to resolve a listener to make sure that something is listening when we
2001-10-13  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (real_sync): Try to resolve a listener
	to make sure that something is listening when we issue the sync
	event (disabled for now)
	(get_listener_oafiid): Implement (disabled for now)

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

	* capplet-util.c (get_factory_name): Updated factory name to
	reflect new, expanded roles

	* Bonobo_Control_Capplet_generic.oaf.in: Create

2001-09-29  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (create_control_cb): Elimite reference counter --
	it's not necessary
	(create_control_cb): Make this a multi-factory so that we can
	return the listener when needed
	(capplet_init): Set up the listener here rather than in
	get_control_cb; also remove the listener and unref the database
	here
	(quit_cb, real_quit_cb): Remove (thank the gods)

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

	* Makefile.am ($(oaffile)): Make creation of the .oaf file generic

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

	* capplet-dir.c (capplet_control_launch): Unref the property bag
	when we are done
2001-10-13 17:26:48 +00:00
Bradford Hovinen
a850f20fa7 Remove -control from the end of the string as well as -capplet
2001-09-28  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (get_default_moniker): Remove -control from the
	end of the string as well as -capplet
	(get_factory_name): Ditto
	(get_property_name): Ditto

	* capplets/*/Makefile.am: Change the binary name to
	*-properties-control and create a wrapper script from
	../common/wrapper-script.in to be named
	*-properties-capplet
	Remove support for disabling bonobo-conf build
2001-09-28 12:30:35 +00:00
Jose Maria Celorio
06d16ff133 Add DISTDIR to install-data-local 2001-08-01 04:02:20 +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
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
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
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
Jose Maria Celorio
d7bb822899 distcheck love 2001-07-25 09:12:32 +00:00
Jose Maria Celorio
d6665cf655 shh 2001-07-25 09:03:12 +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
Jose Maria Celorio
9641b70f8d swap 2001-07-24 22:53:35 +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
Jose Maria Celorio
0ae3d29c91 1.5.0 here we go 2001-07-20 09:49:49 +00:00
Bradford Hovinen (Gdict maintainer)
4b40c52874 Added missing files to EXTRA_DIST, removed nonexistant files from POTFILES.in 2001-07-19 18:36:19 +00:00
Bradford Hovinen (Gdict maintainer)
912b4b2165 Removed empty SUBDIRS entries 2001-07-19 17:46:28 +00:00
Jose Maria Celorio
bf60a18254 Cosmetic fixes so taht all the Makefile.am look the same. 2001-07-19 02:17:38 +00:00
Bradford Hovinen
81d30f0b82 Update for new binary name
2001-07-18  Bradford Hovinen  <hovinen@ximian.com>

	* Bonobo_Control_Capplet_sound_properties.oaf: Update for new
	binary name
2001-07-19 01:13:23 +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
Jose Maria Celorio
35d967aed2 clean this mess. 2001-07-18 03:21:07 +00:00
Chema Celorio
84a374efd9 nice and clean just as we like it
2001-07-17  Chema Celorio  <chema@celorio.com>

	* Makefile.am: nice and clean just as we like it
2001-07-17 22:27:34 +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
0e87220f2f Changed Applications_DATA to Applications_in_files
2001-07-17  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (EXTRA_DIST): Changed Applications_DATA to
	Applications_in_files
2001-07-17 16:48:52 +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)
18878ac402 Removed sound-properties.desktop since it's now generated from .desktop.in 2001-07-17 15:22:54 +00:00
Bradford Hovinen
89573fa734 Prune dialog down to the two check buttons
2001-07-17  Bradford Hovinen  <hovinen@ximian.com>

	* sound-properties.glade: Prune dialog down to the two check
	buttons
2001-07-17 15:21:23 +00:00
Carlos Perelló Marín
068c095238 Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to
2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * *.directory: Renamed to *.directory.in to be used with
        xml-i18n-tools.
        * *.desktop: Renamed to *.desktop to be used with xml-i18n-tools.
        * *.glade: Modified to not generate the glade.h files.
        * *.glade.h: Removed.
        * Makefile.am: Modify to use xml-i18n-tools
        * configure.in: ditto.
        * autogen.sh: ditto, now we use the macros/autogen.sh

2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * .cvsignore: ssshhhh

2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * screensavers/*.xml: /s/label/_label, /s/low-label/_low-label/,
        /s/high-label/_high-label/: Changed to let xml-i18n-tools extract
        this labels.
        * extract-labels.c: Removed, now, we use xml-i18n-tools.
        * preferences.c: /s/label/_label, /s/low-label/_low-label/,
        /s/high-label/_high-label/: Changed to sync with the xml changes.
        * screensaver-prefs-dialog.c: ditto.

2001-07-16  Carlos Perelló Marín <carlos@gnome-db.org>

        * no.po: Solved some conflicts with my patch.

2001-07-14  Carlos Perelló Marín <carlos@gnome-db.org>

        * POTFILES.in: Updated to reflect the xml-i18n-tools use.
        * *.po: Added the .directory && .desktop translations.
        * update.*: Removed.
        * wa.po: Added.
        * es.po: Updated Spanish translation.
2001-07-16 17:04:18 +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 (Gdict maintainer)
e9ac4333e7 Fix exec line 2001-07-12 21:07:02 +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
Kai Lahmann
eb0beef189 .desktop fix 2001-07-10 22:02:14 +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
2c2fafbaad Use bonobo_object_unref rather than gtk_object_destroy
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (bonobo_config_archiver_new): Use
	bonobo_object_unref rather than gtk_object_destroy

	* bonobo-moniker-archiver.c (archiver_resolve): Allow PropertyBag
	interface as well
	(parse_name): Set *location to NULL when there is no location

	* sound-properties.xml: Use 0 and 1 rather than true and false

	* capplet-dir.c (capplet_control_launch): Don't convert underscores
	to dashes in moniker
2001-07-09 19:56:27 +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
299c4ed6f4 Try to load the defaults file if no rollback data can be found
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (bonobo_config_archiver_new): Try to
	load the defaults file if no rollback data can be found

	* capplets/sound/Makefile.am (defaults_DATA): Add sound-properties.xml
	(EXTRA_DIST): Add defaults_DATA

	* control-center/Makefile.am (INCLUDES): Update directory locations
2001-07-09 16:46:31 +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
Havoc Pennington
22c09dbb52 switch to using pkg-config to find things
2001-06-21  Havoc Pennington  <hp@redhat.com>

	* configure.in: switch to using pkg-config to find things

	* capplets/*/Makefile.am: clean up crufty flags, adapt to
	configure.in changes
2001-06-21 16:09:21 +00:00