Commit graph

24 commits

Author SHA1 Message Date
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
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
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
Bradford Hovinen
c7af228de9 Use read () rather than fread () to make sure to catch end-of-file.
2001-06-18  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c (do_set_xml): Use read () rather than
	fread () to make sure to catch end-of-file. Gracefully handle
	no-data case.
2001-06-18 16:44:33 +00:00
Christian Rose
618c4af389 Modified Swedish entry. Added missing file. Updated Swedish translation.
2001-06-07  Christian Rose  <menthos@menthos.com>

	* capplets/desktop-links/Appearances.directory,
	capplets/desktop-links/Multimedia.directory,
	capplets/desktop-links/Peripherals.directory,
	capplets/desktop-links/UIOptions.directory,
	capplets/gnome-edit-properties/gnome-edit-properties.desktop,
	capplets/mime-type/mime-type.desktop,
	capplets/new-sound-properties/sound-properties.desktop,
	capplets/new-ui-properties/behavior.desktop,
	capplets/screensaver-properties/screensaver-desktops/screensaver-properties.desktop,
	capplets/sound-properties/sound-properties.desktop,
	capplets/theme-switcher/theme-selector.desktop,
	capplets/ui-properties/application.desktop,
	capplets/ui-properties/ui-properties.directory: Modified
	Swedish entry.
	* po/POTFILES.in: Added missing file.
	* po/sv.po: Updated Swedish translation.
2001-06-07 01:21:11 +00:00
Bradford Hovinen
eba544a091 Add check for libximian_archiver; try include cflags and libs only if the
2001-05-05  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in: Add check for libximian_archiver; try include
	cflags and libs only if the archiver is present *
	capplets/*/main.c: Add #ifdef's around anything that uses the
	Ximian archiver so that the capplets can compile without it
2001-05-05 14:19:03 +00:00
Bradford Hovinen
a7fa858b61 Handle --get-defaults (do_restore_from_defaults): Implement
2001-05-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/*/main.c (main): Handle --get-defaults
	(do_restore_from_defaults): Implement

	* capplets/*/preferences.c (preferences_init): Load default values
2001-05-04 00:05:14 +00:00
Bradford Hovinen
fc7487ef4f Make desktop-entry an attribute rather than a child node
2001-04-27  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/wm-properties/wm-list.c (wm_read_from_xml): Make
	desktop-entry an attribute rather than a child node

	* capplets/*/main.c: Do not try to load preferences from XML if
	there was not XML data
2001-04-29 16:22:27 +00:00
Bradford Hovinen
9bf1996a30 Support --location
2001-04-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/*/main.c:
	* capplets/*/preferences.c: Support --location

	* capplets/Makefile.am: Compile in screensaver properties
2001-04-25 01:00:46 +00:00
Bradford Hovinen
ed0d760991 Added code to store archive data with the ximian archiver
2001-03-15  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c: Added code to store archive data with the
	ximian archiver
2001-03-15 05:24:57 +00:00
Marius Andreiana
2072d3aa96 added ro (Romanian) translation 2001-01-26 15:10:22 +00:00
Jacob Berkman
d42affc965 Merging of my tree.
This contains:

* a few capplets were redone UI wise:

  ui-properties
  keyboard
  background-properties

* splitting of libcapplet out of this modules (into libcapplet)

* new html-based view in the control-center

* initial import of functional root-manager

This stuff isn't all done yet, but I wanted to get it in.

TODO files will hopefully follow.
2000-12-26 19:41:33 +00:00
dd Hovinen
9fd5dab207 Added rorschach.xml.h
2000-10-14  dd Hovinen  <hovinen@helixcode.com>

	* po/POTFILES.in: Added rorschach.xml.h

	Courtesy John B Tunison <jtunison@andrew.cmu.edu>:
	* capplets/*/Makefile.am (INCLUDES): Put
	-I$(top_srcdir)/libcapplet before everything else

	* new-control-center/capplet-dir.c
	(start_capplet_through_root_manager): Use FOPEN_MAX rather than
	OPEN_MAX, since some people don't seem to be have OPEN_MAX defined by
	default
2000-10-14 16:54:25 +00:00
Stanislav Brabec
99abd8706e Remove trailing dot in english strings containing menu name or tooltip
(discussed in gnome-i18n list).
Updated cs and cs.po.
2000-10-11 14:17:08 +00:00
Bradford Hovinen
99c8753a52 Add translation file
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

        * capplets/new-background-properties/Makefile.am (EXTRA_DIST): Add
        translation file

        * capplets/new-bell-properties/Makefile.am (EXTRA_DIST): ditto

        * capplets/new-mouse-properties/Makefile.am (EXTRA_DIST): ditto

        * capplets/new-ui-properties/Makefile.am (EXTRA_DIST): ditto
2000-10-08 19:34:46 +00:00
Bradford Hovinen
89e394e737 Update list of Makefiles
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in (CFLAGS): Update list of Makefiles

	* capplets/Makefile.am (always_built_SUBDIRS): Build new
	sound-properties-capplet rather than old one

	* New sound-properties capplet
2000-10-08 16:38:31 +00:00