Commit graph

1193 commits

Author SHA1 Message Date
Bradford Hovinen
f6e592264e Add g_return_if_fail macros
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir-view.c (capplet_dir_view_show): Add g_return_if_fail
	macros
2001-07-09 21:19:24 +00:00
Bradford Hovinen
bf95474a7c Added Gnome.directory and installation routine
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am: Added Gnome.directory and installation routine
2001-07-09 21:03:02 +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
Christopher R. Gabriel
080ffef435 updated italian translation 2001-07-09 14:36:58 +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
9d08d7b15e Terminate the list of properties to set
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Terminate the list of
	properties to set
2001-07-09 14:03:26 +00:00
Bradford Hovinen (Gdict maintainer)
983317bc5e New sound properties capplet import 2001-07-09 13:29:14 +00:00
Chema Celorio
e80bf50b31 add bonobo and bonobox
2001-07-07  Chema Celorio  <chema@celorio.com>

	* configure.in (capplet_modules): add bonobo and bonobox
2001-07-07 21:29:23 +00:00
Chema Celorio
0c086fe454 require pkg-config 0.7.0 since 0.6.0 is brOKeN
2001-07-07  Chema Celorio  <chema@celorio.com>

	* configure.in (vers): require pkg-config 0.7.0 since
	0.6.0 is brOKeN
2001-07-07 19:25:03 +00:00
Bradford Hovinen
33cc1312bc Renamed ximian_archiver to config_archiver
2001-07-05  Bradford Hovinen  <hovinen@ximian.com>

	* config-manager-dialog.c: Update #include locations
2001-07-05 21:57:01 +00:00
Bradford Hovinen
691aeeba30 Use libglade-gnome rather than libglade
2001-07-05  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in (capplet_modules): Use libglade-gnome rather than libglade
2001-07-05 21:51:20 +00:00
Bradford Hovinen
00a42ca4f3 Remove libcapplet Add XIMIAN_ARCHIVER_{LIBDIR|LIBS|INCLUDEDIR} Bump
2001-07-05  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in (GNOMECC): Remove libcapplet
	Add XIMIAN_ARCHIVER_{LIBDIR|LIBS|INCLUDEDIR}
	Bump version number to 1.3.2
2001-07-05 20:06:12 +00:00
Bradford Hovinen
4cf6f3a859 Use bonobo-conf rather than bonobo-config for include path
2001-07-05  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.[ch]: Use bonobo-conf rather than
	bonobo-config for include path
2001-07-05 17:41:47 +00:00
Bradford Hovinen (Gdict maintainer)
07bc9090c8 Added missing OAF file 2001-07-05 17:38:11 +00:00
Bradford Hovinen (Gdict maintainer)
f76b12f43c Added missing Bonobo config moniker files 2001-07-05 17:37:53 +00:00
Bradford Hovinen
78f32849fb Put po after capplets so that the build doesn't screw up
2001-07-05  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (SUBDIRS): Put po after capplets so that the build
	doesn't screw up
2001-07-05 17:28:56 +00:00
Bradford Hovinen
aaaf56e71c Removed rules pertaining to sound-properties
2001-07-05  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am: Removed rules pertaining to
	sound-properties

	* capplets/sound-properties-capplet.c (set_moniker_cb): Change
	BonoboPropertyEditor to BonoboPEditor

	* configure.in: Update AC_INIT to use correct directory name
	(AC_OUTPUT): Update to current directory structure

	* Makefile.am (SUBDIRS): Update to current directory structure

	* capplets/Makefile.am (always_built_SUBDIRS): Updated to current
	directory structure

	* bonobo-moniker-archiver.c (archiver_resolve): Update call to
	Bonobo_ConfigDatabase_addDatabase

	* bonobo-config-archiver.h: Fix include directories

	* Makefile.am (INCLUDES): Update to use pkg-config standards; add
	BONOBO_CFLAGS
	Include configuration moniker-related material
	(SUBDIRS): Remove
	(bin_PROGRAMS): Added ximian-archiver

	* capplets/keyboard/prefs-widget.c (set_scale): Add appropriate casts

	* capplets/rollback/Makefile.am (INCLUDES):
	(rollback_capplet_LDADD): Update to include ximian_archiver stuff
	correctly
2001-07-05 17:27:44 +00:00
Richard Hestilow
70f3cc51cc Added. (prefs_widget_init): Connect to "Add" and "Remove"
2001-07-03  Richard Hestilow  <hestilow@ximian.com>

	* prefs-widget.c:
	  (add_select_cb, screensaver_add_cb, screensaver_remove_cb): Added.
	  (prefs_widget_init): Connect to "Add" and "Remove"

	* screensaver-prefs-dialog.c (get_basic_screensaver_widget): Replace
	confusing stuff with ultra-simple dialog.

	* screensaver-properties.glade[.h]: Remove "Demo" popup item, as it
	is on the settings dialogs and is not easy to manage with
	menu selection anyway. (Too much mouse movement).
2001-07-03 20:40:58 +00:00
Bradford Hovinen
3e3422d465 Use GnomeDialog rather than BonoboWindow (capplet_control_launch): Use
2001-07-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Use GnomeDialog rather
	than BonoboWindow
	(capplet_control_launch): Use bonobo_widget_set_property for simplicity
	(capplet_control_launch): Eliminate goto statement with an if...else clause
2001-07-03 20:29:56 +00:00
Bradford Hovinen
0e31da4c76 Use GnomeDialog rather than BonoboWindow
2001-07-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Use GnomeDialog rather
	than BonoboWindow

	* archiver/Makefile.am (bonobo_moniker_archiver_LDADD): Use @...@
	rather than $(...) for pkg-config's sake
2001-07-03 19:18:51 +00:00
Bradford Hovinen
963cbcaff5 Use correct location for Glade data
2001-07-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (INCLUDES): Use correct location for Glade
	data
2001-07-03 18:06:27 +00:00
Richard Hestilow
9718834cfb Add PKG_CHECK_MODULES for SCREENSAVER_CAPPLET.
2001-07-03  Richard Hestilow  <hestilow@ximian.com>

	* configure.in: Add PKG_CHECK_MODULES for SCREENSAVER_CAPPLET.
2001-07-03 17:50:42 +00:00
Richard Hestilow
77d73e6a26 Added.
2001-07-03  Richard Hestilow  <hestilow@ximian.com>

	* screensaver-properties.glade[.h]: Added.

	* prefs-widget.[ch]: Complete rewrite.

	* Makefile.am: Add glade stuff.

	* main.c: Call glade_gnome_init.

	* pref-file.c: Restart xscreensaver on save.

	* screensaver-prefs-dialog.c (screensaver_prefs_dialog_new):
	Change g_strconcat to g_strdup_printf for i18n purposes.
2001-07-03 17:47:36 +00:00
Bradford Hovinen
8496ca47a5 Connect destroy signal on capplet window to gtk_main_quit
2001-07-03  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (main): Connect destroy signal on capplet window to
	gtk_main_quit

	* capplet-dir.c (capplet_control_launch): Return pointer to
	BonoboWindow

	* main.c (main): Check return value of capplet_control_launch

	* capplet-dir.c (capplet_control_launch): Use goto to make sure
	all data structures are freed
2001-07-03 17:18:50 +00:00
Tambet Ingo
9a1ac9dd28 Added display-conf backend.
2001-07-02  Tambet Ingo  <tambet@ximian.com>

	* default-global.xml: Added display-conf backend.
2001-07-02 21:40:38 +00:00
Bradford Hovinen
cd2f26923d Use bonobo_arg_... functions
2001-07-02  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Use bonobo_arg_... functions

	* main.c (main): Call capplet_control_launch if capplet was specified on CLI
	Use bonobo_main rather than gtk_main

	* capplet-dir.c (capplet_control_launch): Fix to use Bonobo_Property_setValue
	(capplet_activate): Support capplet_control_launch; use strlen(...) rather than hardcoding length
	(capplet_control_launch): Replace '-' characters with underscores

Added OAF info file for experimental sound properties capplet
2001-07-02 14:46:26 +00:00
Bradford Hovinen
a72197926a Added archiver moniker for bonobo-conf
Added sample capplet using new moniker

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

        * main.c (main): Support --run-capplet argument on the command line

        * capplet-dir.c (capplet_launch): Implement. Currently not called,
        but will be used to launch capplets

        * main.c (main): Added OAF and bonobo intialization

        * capplets/Makefile.am (bin_PROGRAMS): Add target for
        sound-properties-capplet
        (INCLUDES): Install from new-sound-properties

        * configure.in (CAPPLET_{CFLAGS|LIBS}): Add bonobo_conf to each
2001-06-29 20:48:29 +00:00
Richard Hestilow
828dbf8727 Check for pkg-config >= 0.6.0 without the use of a macro -- people were
2001-06-27  Richard Hestilow  <hestilow@ximian.com>

	* configure.in: Check for pkg-config >= 0.6.0 without the use of
	a macro -- people were having issues with older versions with
	no macros.
2001-06-27 18:40:27 +00:00
Rachel Hestilow
81cbb6d8b6 2001-06-27 Richard Hestilow <hestilow@ximian.com:
* ChangeLog added.

	* mouse-properties.glade: New GUI by Anna Dirks.

	* mouse-left.png, mouse-right.png: Added.

	* Makefile.am: Install pixmaps.

	* prefs-widget.c (set_pixmap_file): Added function.
	  (threshold_changed_cb, read_preferences): Call new macro
	  THRESHOLD_CONVERT, as sensitivity is the reverse of threshold.
	  (read_preferences, prefs_widget_init): Change "threshold_entry" to
	  sensitivity_entry.
	  (prefs_widget_init): Call set_pixmap_file for the new pixmaps.
2001-06-27 16:32:18 +00:00
Pablo Saratxaga
f3d7412efd updated Azeri file 2001-06-25 08:57:27 +00:00
Bradford Hovinen
a18fd85bba Return NULL if the location id is NULL (archive_get_current_location_id):
2001-06-22  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_get_current_location): Return NULL if the
	location id is NULL
	(archive_get_current_location_id): Return NULL if storing the
	snapshot results in an error

	* location.c (location_store): Add return values for error
	conditions; remove g_warning's and g_critical's
	(location_store_full_snapshot): Folded in store_snapshot_cb; don't
	call location_foreach_backend
	(location_store_full_snapshot): Return error condition; 0 on
	success, -1 if any backend failed

	* location-manager-dialog.c (location_manager_dialog_set_arg): Add
	a check to inform the user if the location manager was unable to
	form an initial configuration snapshot
2001-06-22 16:34:57 +00:00
Bradford Hovinen
47d682e446 Use location_get_changed_backends
2001-06-21  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_set_current_location): Use
	location_get_changed_backends

	* location.c (location_get_changed_backends):
	(location_does_backend_change): Implement
	(create_backends_list):
	(merge_backend_lists): Moved from archive.c

	* gui-backend-list.c (gui_backend_list_launch_current): Use
	location_does_backend_change when deciding whether to pass
	--location on the command line
2001-06-21 21:48:12 +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
Bradford Hovinen
c894d8e52b Abort if prefs structure is NULL when editing outside the current
2001-06-21  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c (main): Abort if prefs structure is NULL
	when editing outside the current location. Fixes crash when bad
	XML data are supplied.
2001-06-21 14:48:09 +00:00
Bradford Hovinen
93e004a93f Don't call close on fd (dump_log): Use g_critical on error conditions
2001-06-21  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (dump_log): Don't call close on fd
	(dump_log): Use g_critical on error conditions rather than g_warning
2001-06-21 14:33:24 +00:00
Bradford Hovinen
f707e7350e Fix to use correct termination condition and g_string API
2001-06-21  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c (do_set_xml): Fix to use correct
	termination condition and g_string API

	* capplets/new-screensaver-properties/preferences.c (clone_cb):
	Remove debugging code
2001-06-21 14:28:48 +00:00
Kjartan Maraas
94736ab677 Updated Norwegian translation.
2001-06-20  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian translation.
2001-06-20 20:00:13 +00:00
Bradford Hovinen (Gdict maintainer)
9f75f8c219 Typo bugfix in configuration log 2001-06-20 18:53:47 +00:00
Bradford Hovinen
f0dda427f7 Call io_buffer_destroy
2001-06-20  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (config_log_write_entry): Call io_buffer_destroy
2001-06-20 18:33:08 +00:00
Bradford Hovinen
1f701fce3b Dump the log after loading it from the slave (dump_log): Set first_old to
2001-06-20  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (slave_data_cb): Dump the log after loading it from
	the slave
	(dump_log): Set first_old to the beginning of the list after the dump
	(do_load): Don't call do_unload
	(socket_data_cb): Check for hang up first
	(do_load): Don't call reset_filenames

	* archive.c, Makefile.am: Replace all instances of ximian-config
	with ximian-setup-tools

	* config-log.c (slave_new): Don't apprise slave of new data
	(config_log_write_entry): Dump log after every write
2001-06-20 17:58:45 +00:00
Bradford Hovinen
3f08be4e57 Don't save unless apply_settings is set
2001-06-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c (do_set_xml): Don't save unless
	apply_settings is set
2001-06-20 17:58:21 +00:00
Bradford Hovinen
c39d6dff02 Dump the log after loading it from the slave (dump_log): Set first_old to
2001-06-20  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (slave_data_cb): Dump the log after loading it from
	the slave
	(dump_log): Set first_old to the beginning of the list after the dump
	(do_load): Don't call do_unload
	(socket_data_cb): Check for hang up first
2001-06-20 17:21:33 +00:00
Richard Hestilow
efc06f6cc7 Handle properly the case where centered/tiled image is larger than the
2001-06-20  Richard Hestilow  <hestilow@ximian.com>

	* capplets/new-background-properties/applicer.c
	(get_geometry): Handle properly the case where centered/tiled
	image is larger than the screen/preview.
2001-06-20 16:36:01 +00:00
Bradford Hovinen
a5f7ac1dab Fixed nitems check (set_root_pixmap): Passing -1 makes the function just
2001-06-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-background-properties/applier.c
	(is_nautilus_running): Fixed nitems check
	(set_root_pixmap): Passing -1 makes the function just set the
	pixmap to what it was
2001-06-20 15:50:59 +00:00
Bradford Hovinen
0b43d32e46 Don't apprise slave of new data (config_log_write_entry): Dump log after
2001-06-20  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (slave_new): Don't apprise slave of new data
	(config_log_write_entry): Dump log after every write
2001-06-20 14:41:18 +00:00
Bradford Hovinen (Gdict maintainer)
0d1ac243ed Undefine DEBUG_ME_MORE 2001-06-19 18:46:02 +00:00
Bradford Hovinen
172e5c0939 Free the location path as we walk down it. (create_backends_list):
2001-06-19  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_set_current_location): Free the location path
	as we walk down it.
	(create_backends_list): Implement
	(merge_backend_lists): Implement
	(archive_set_current_location): Call above functions
	(create_backends_list): Get rid of dummy first element
	(archive_set_current_location): Don't use backends->next when
	calling rollback_backends_to

	* location.c (run_backend_proc): Remember to close the writing end
	(location_store): Change g_error to g_critical
	(run_backend_proc): Don't getenv PATH
	(run_backend_proc): Make sure to close other end of pipe in child
	process

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

	* location.c (location_store): Use GString API

	* config-log.c (slave_data_cb): Don't use == to test IO conditions
2001-06-19 18:31:18 +00:00
Bradford Hovinen
aa7315ed93 Don't use == to test IO conditions
2001-06-18  Bradford Hovinen  <hovinen@ximian.com>

	* config-log.c (slave_data_cb): Don't use == to test IO conditions
2001-06-18 16:45:31 +00:00