Commit graph

546 commits

Author SHA1 Message Date
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
Richard Hestilow
64fe5d975c Create Makefiles for capplets/desktop-links,
2001-07-12  Richard Hestilow  <hestilow@ximian.com>

	* configure.in: Create Makefiles for capplets/desktop-links,
	capplets/default-applications, and capplets/url-properties.

	* capplets/desktop-links: Added.

	* capplets/default-applications: Added

	* capplets/url-properties/ChangeLog: Added

	* capplets/*/Makefile.am: Install into Advanced.
2001-07-12 23:04:34 +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
Richard Hestilow
24c947b83c Remove a bunch of stuff from the old control-center.
2001-07-12  Richard Hestilow  <hestilow@ximian.com>

	* Makefile.am: Remove a bunch of stuff from the old control-center.

	* configure.in: Ditto.

	* capplets/Makefile.am: Ditto.

	* po/POTFILES.in: Ditto

	* autogen.sh: Look for the right directory structure.

	* capplets/file-types/Makefile.am: Compile the file-types-* files,
	not nautilus-mime-type-* files (they were renamed.)

	* capplets/file-types/*.c: Include the renamed headers.

	* capplets/file-types/libuuid/Makefile.am: Change $(GLIB_CFLAGS)
	to @GLIB_CFLAGS@ for pkg-config purposes.
2001-07-12 17:01:14 +00:00
Bradford Hovinen (Gdict maintainer)
6efd5666e3 Indentation tweak 2001-07-12 14:13:08 +00:00
Jose Maria Celorio
ab68cdbf40 make distcheck fixes 2001-07-11 02:41:21 +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
e10800015f .desktop fixCVS:
.desktop fixCVS: ----------------------------------------------------------------------
2001-07-10 22:02:42 +00:00
Kai Lahmann
eb0beef189 .desktop fix 2001-07-10 22:02:14 +00:00
Kai Lahmann
6a9081f916 *** empty log message *** 2001-07-10 22:01:01 +00:00
Kai Lahmann
683186e37e .desktop fixCVS:
.desktop fixCVS: ----------------------------------------------------------------------
2001-07-10 22:00:16 +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
Kai Lahmann
dde0a2329b Added German translation 2001-07-10 14:55:21 +00:00
Kai Lahmann
4b6d4d9b59 Fixed wrong binary name 2001-07-10 14:53:23 +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
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
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
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
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
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
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
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
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
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
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
Bradford Hovinen
057372f928 Add #ifdef HAVE_XIMIAN_ARCHIVER around some parts missing it
2001-06-12  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-mouse-properties/main.c (ok_cb):
	(cancel_cb): Add #ifdef HAVE_XIMIAN_ARCHIVER around some parts
	missing it
2001-06-12 16:19:49 +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 (Gdict maintainer)
b783cdabf1 Made sure new-mouse-properties builds by default 2001-05-30 00:14:05 +00:00
Bradford Hovinen
6fb797ca6b Implement. Create a copy of a preferences structure (clone_cb): Implement
2001-05-06  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_clone): Implement. Create a copy of a
	preferences structure
	(clone_cb): Implement
	(read_prefs_from_db): Parse screensavers from a copy of the string
	so that we don't overwrite the original

	* main.c (main): Call preferences_clone instead of reloading old
	preferences
2001-05-06 17:33:27 +00:00
Bradford Hovinen
7bfddd30e4 Fix segv
2001-05-05  Bradford Hovinen  <hovinen@ximian.com>

	* prefs-widget.c (one_screensaver_cb): Fix segv

	* screensavers/*.xml: Added test attribute to monochrome setting
2001-05-05 19:16:21 +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
1455dedadd Remove FIXME warning (applier_apply_prefs): Disable wallpaper in new_prefs
2001-04-24  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (applier_apply_prefs): Remove FIXME warning
	(applier_apply_prefs): Disable wallpaper in new_prefs structure if
	the wallpaper pixbuf is NULL and we are not loading a new pixbuf
2001-04-25 01:32:13 +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