Commit graph

134 commits

Author SHA1 Message Date
Bradford Hovinen
fd0dba5cec Update listener name
2001-10-18  Bradford Hovinen  <hovinen@ximian.com>

	* Bonobo_Control_Capplet_generic.oaf.in: Update listener name

	* capplet-util.c (create_control_cb): Use correct prefix for listener
2001-10-18 13:36:25 +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 (Gdict maintainer)
6c64f8853e Added missing wrapper-script.in 2001-10-01 14:15:20 +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
Bradford Hovinen
b4d4a62dbb Improved error checking and cleaned up the logic a bit
2001-09-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (legacy_is_modified): Improved error checking and
	cleaned up the logic a bit
2001-09-25 01:40:39 +00:00
Bradford Hovinen
a6802d47af Don't call setup_cb after the first time
2001-09-14  Bradford Hovinen  <hovinen@ximian.com>

        * capplet-util.c (set_moniker_cb): Don't call setup_cb after the
        first time
2001-09-22 23:30:40 +00:00
Bradford Hovinen
cd3e448631 Free the full moniker to correct memory leak (set_moniker_cb): Disconnect
2001-09-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (set_moniker_cb): Free the full moniker to
	correct memory leak
	(set_moniker_cb): Disconnect old signal handler
2001-09-12 15:35:44 +00:00
Bradford Hovinen (Gdict maintainer)
4e6a3b89d6 Added CORBA interface to the archiver 2001-08-20 15:47:57 +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
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
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
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
Richard Hestilow
80b5aabaf0 Set control data on PropertyFrame as part of evil hack. (quit_cb): Work if
2001-07-24  Richard Hestilow  <hestilow@ximian.com>

	* capplet-util.c (get_control_cb): Set control data on PropertyFrame
	as part of evil hack.
	(quit_cb): Work if called multiple times...also evil.
	(pf_destroy_cb): unref the control...evil evil evil.
2001-07-25 08:52:04 +00:00
Richard Hestilow
3c04c60a09 Remove debugging cruft. (capplet_init): Check for legacy with
2001-07-24  Richard Hestilow  <hestilow@ximian.com>

	* capplet-util.c: Remove debugging cruft.
	(capplet_init): Check for legacy with --init-session-settings too.
2001-07-25 05:31:30 +00:00
Richard Hestilow
29095b8349 New argument of legacy files to check for changes.
2001-07-24  Richard Hestilow  <hestilow@ximian.com>

	* capplet-util.[ch] (capplet_init): New argument of legacy files to
	check for changes.

	* capplet-util.c (legacy_is_modified): New function that checks
	a legacy file against the archiver modification date.
	(capplet_init): Pass legacy_files to legacy_is_modified, and sync
	our database with the legacy one if one has been.
2001-07-25 03:10:58 +00:00
Bradford Hovinen
4c1bd422e2 Reenable disabled code (quit_cb): Put the db an id objects in a pair
2001-07-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (real_quit_cb): Reenable disabled code
	(quit_cb): Put the db an id objects in a pair structure and pass
	that to the callback
	(real_quit_cb): Extract the db and id objects from the pair
	(create_control_cb): Set up listener for sync event rather than
	change event
2001-07-24 22:52:59 +00:00
Bradford Hovinen
c721616af0 Reenable disabled code (quit_cb): Put the db an id objects in a pair
2001-07-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (real_quit_cb): Reenable disabled code
	(quit_cb): Put the db an id objects in a pair structure and pass
	that to the callback
	(real_quit_cb): Extract the db and id objects from the pair
2001-07-24 20:19:35 +00:00
Bradford Hovinen
8d99fd960e Set InvalidValue exception if the program could not resolve the moniker
2001-07-23  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (set_moniker_cb): Set InvalidValue exception if
	the program could not resolve the moniker

	* capplet-dir.c (capplet_control_launch): Put up an error dialog
	and abort the process if the capplet reports an error trying to
	resolve its moniker
2001-07-23 22:58:32 +00:00
Bradford Hovinen
0e9e3ca1a2 Put up error dialog if we could not resolve the configuration moniker
2001-07-23  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (set_moniker_cb): Put up error dialog if we could
	not resolve the configuration moniker
2001-07-23 21:32:57 +00:00
Jose Maria Celorio
0ae3d29c91 1.5.0 here we go 2001-07-20 09:49:49 +00:00
Richard Hestilow
70613fac1c Add an idle handler to call the real quit cb. (real_quit_cb): Added, it is
2001-07-19  Richard Hestilow  <hestilow@ximian.com>

	* capplet-util.c (quit_cb): Add an idle handler to call the real
	quit cb.
	(real_quit_cb): Added, it is what quit_cb used to be.
2001-07-19 23:36:21 +00:00
Bradford Hovinen
24e322e49a Use a static variable for the control and return NULL if the control was
2001-07-19  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (create_control_cb): Use a static variable for
	the control and return NULL if the control was already created
2001-07-19 17:42:42 +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
Rachel Hestilow
d5956cd268 Oops. 2001-07-18 18:51:33 +00:00
Richard Hestilow
cefd029e80 Revert my last proxy-related change.
2001-07-18  Richard Hestilow  <hestilow@ximian.com>

	* capplet-util.[ch]: Revert my last proxy-related change.
2001-07-18 18:50:44 +00:00
Richard Hestilow
3181b13b99 Add a PropertyBag argument so capplet authors can hook up to the proxy.
2001-07-18  Richard Hestilow  <hestilow@ximian.com>

	* capplet-util.h (CreateDialogFn): Add a PropertyBag argument so
	capplet authors can hook up to the proxy.

	* capplet-util.c (get_control_cb): Pass the proxy bag to setup_cb.
	(capplet_init): Don't free default_moniker until after we print it.
2001-07-18 16:08:32 +00:00
Jose Maria Celorio
ab0fef8323 Fix fix fix fix fix & clean stuff. With their changelog entries for your
pleasure.
2001-07-18 06:36:24 +00:00
Bradford Hovinen
fe99988f34 Add mechanism for quitting once the moniker is no longer in use
2001-07-17  Bradford Hovinen  <hovinen@ximian.com>

        * bonobo-config-archiver.c (bonobo_config_archiver_new): Add
        mechanism for quitting once the moniker is no longer in use
        (bonobo_config_archiver_new): Make archive a static variable
        (bonobo_config_archiver_new): Explicitly destroy archive when
        program quits
        (timeout_cb): Remove

        * capplet-util.c (get_factory_name):
        (get_default_moniker):
        (get_property_name): Use correct names when the full path was
        specified for the executable
2001-07-17 22:14:19 +00:00
Bradford Hovinen
603e18320d Destroy the property control when the control or the widget are destroyed
2001-07-17  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (get_control_cb): Destroy the property control when the control or
	the widget are destroyed
	(quit_cb): Implement
	(create_control_cb): Connect destroy signal of property control to
	quit_cb
2001-07-17 20:09:30 +00:00
Bradford Hovinen
1e7101f61d Implement. Return the property name associated with the capplet
2001-07-17  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (get_property_name): Implement. Return the property name
	associated with the capplet
	(set_moniker_cb): Use GTK_BIN (pf)->child rather than
	bonobo_control_get_widget
	(get_control_cb): Quit the program when the control or the widget
	are destroyed
2001-07-17 18:58:02 +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
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
8459555f65 Return NULL in the case that the control is already present
2001-07-13  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (create_dialog_cb): Return NULL in the case that
	the control is already present

	* capplet-dir.c (capplet_control_launch): Accept window_title
	parameter and use it as the title
	(capplet_activate): Pass entry->name to capplet_control_launch
	(capplet_control_launch): Don't print error and use correct test
	for control_ref == CORBA_OBJECT_NIL
2001-07-13 19:58:58 +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