Commit graph

1883 commits

Author SHA1 Message Date
Bradford Hovinen
ec0401e89e Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c: Eliminate compiler warnings
2001-12-20 20:17:28 +00:00
Bradford Hovinen
fb0d289855 Fold the callback back in; accept variable argument list with extra
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new): Fold the callback
	back in; accept variable argument list with extra parameters
	(gconf_peditor_new_filename): Return the property editor
	(gconf_peditor_new_string_valist): Split this out
	(gconf_peditor_new_string): Call _valist variant
	(gconf_peditor_new*): Update

	* */*-properties*.c: Update according to above
2001-12-20 20:14:59 +00:00
Bradford Hovinen
7ec25076f0 Add background, screensaver files (install-data-local): Allow
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* schemas/Makefile.am (schema_DATA): Add background, screensaver
	files
	(install-data-local): Allow specification of multiple schema files

	* capplets/default-applications/Makefile.am: Clean up
2001-12-20 19:45:12 +00:00
Bradford Hovinen (Gdict maintainer)
ac652d54ee Add missing rule for building screensaver.desktop 2001-12-20 19:10:50 +00:00
Bradford Hovinen
7e964d36ec Remove obsolete stuff
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am: Remove obsolete stuff

	* screensavers/Makefile.am (install-data-local): Make sure
	share/control-center/screensavers directory is created

	* Replace screensaver.desktop.in.in with screensaver.desktop.in
2001-12-20 19:08:15 +00:00
Bradford Hovinen (Gdict maintainer)
89b1e89843 Moved background, screensaver schema files to schemas 2001-12-20 18:58:11 +00:00
Bradford Hovinen
30389610b4 Add parameter GNOME_PARAM_APP_DATADIR
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/screensaver/main.c (main): Add parameter
	GNOME_PARAM_APP_DATADIR

	* mouse-properties-capplet.c (main): Add parameter
	GNOME_PARAM_APP_DATADIR

	* configure.in (GNOMECC_DESKTOP_DIR): Define
	(GNOMECC_DATA_DIR): Define
	Remove AC_DEFINE_UNQUOTED for the rest of the directories

	* All: Update to reflect above
2001-12-20 18:52:39 +00:00
Bradford Hovinen
2dd5ccf964 Update (main): Use a GtkDialog rather than a GnomeDialog; don't place a
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* *-properties*.c (dialog_button_clicked_cb): Update
	(main): Use a GtkDialog rather than a GnomeDialog; don't place a
	weak ref on gtk_main_quit
2001-12-20 18:21:12 +00:00
Bradford Hovinen
cb0a578f7e Add
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* schemas/Makefile.am (EXTRA_DIST): Add

	* configure.in: Removed capplets/sound/Makefile

	* capplets/*/Makefile.am: Compilation fixes
2001-12-20 17:58:44 +00:00
Hans Petter Jansson
a41721b331 Remove rule that prevented install.
2001-12-20  Hans Petter Jansson  <hpj@ximian.com>

	* Makefile.am: Remove rule that prevented install.
2001-12-20 17:09:32 +00:00
Bradford Hovinen
347e6f5603 Update
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* POTFILES.in: Update
2001-12-20 16:49:17 +00:00
Bradford Hovinen (Gdict maintainer)
f51312135c Replace .desktop.in.in with .desktop.in, as we no longer need the pixmap
filename substitution in GNOME 2.0
2001-12-20 15:53:57 +00:00
Bradford Hovinen
02397e55aa Put gnome-settings-daemon after libbackgrounds
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (SUBDIRS): Put gnome-settings-daemon after
	libbackgrounds

	* background-properties-capplet.c: Update

	* capplets/background/Makefile.am: Update

	* background.desktop.in.in (Exec): Update

	* mouse.desktop.in.in (Exec): Update

	* capplets/keyboard/Makefile.am: Update

	* keyboard.desktop.in.in (Exec): Update

	* mouse.desktop.in.in (Exec): Update

	* gnome-settings-background.c: Update

	* applier.[ch]: Rename applier to bg_applier to avoid possible
	namespace collision
2001-12-20 15:46:08 +00:00
Bradford Hovinen
a2b2b7932a Rename preferences to bg_preferences to avoid possible namespace collision
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* libbackground/preferences.[ch]: Rename preferences to
	bg_preferences to avoid possible namespace collision

	* All: Update to reflect the above
2001-12-20 14:24:56 +00:00
Bradford Hovinen
b65967ac90 Add common, background, keyboard, mouse back in
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am (always_built_SUBDIRS): Add common,
	background, keyboard, mouse back in

	* configure.in (PKG_CHECK_MODULES): Remove lines pertaining to the
	archiver, add line for gnome settings daemon

	* background-properties-capplet.c (dialog_button_clicked_cb):
	Remove call to apply_settings
	(apply_settings): Remove
	(main): Remove apply_only support

	* default-application-properties.c (main): Call gtk_main, not
	capplet_gtk_main

	* interface.c: Don't #include capplet-widget.h

	* main.c: Don't #include capplet-widget.h or the archiver stuff
	(main): Call gtk_main rather than capplet_gtk_main
	Remove archiver stuff
	(setup_capplet_widget): Don't connect to state_changed_cb
	(state_changed_cb): Remove
	(main): Don't pass cap_options

	* gnome-settings-daemon/Makefile.am
	(gnome_settings_daemon_SOURCES): Add
	gnome-settings-{keyboard|background}.[ch]
	(INCLUDES): Add -I$(top_srcdir)/libbackground
	(gnome_settings_daemon_LDADD): Add
	$(top_builddir)/libbackground/libbackground.a

	* gnome-settings-daemon.c (main): Initialize keyboard and
	background subsystems

	* Added gnome-settings-{keyboard|background}.[ch],
	gnome-settings-daemon/ChangeLog
2001-12-20 14:11:59 +00:00
Seth Nickell
f812516058 Remove gnome-hint-properties.desktop.in
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* POTFILES.in:

	Remove gnome-hint-properties.desktop.in
2001-12-19 22:18:45 +00:00
Bradford Hovinen
26f7fd7a09 Comment out; pending removal to gnome-settings-daemon (setup_dialog): Set
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c (apply_settings): Comment out; pending
	removal to gnome-settings-daemon
	(setup_dialog): Set conversion functions
	(rate_to_widget, rate_from_widget, delay_to_widget)
	(delay_from_widget): Implement
2001-12-19 21:20:20 +00:00
Bradford Hovinen
e6e398cbae Return FALSE (peditor_*_widget_changed): Just return if we are not fully
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (init_widget_cb): Return FALSE
	(peditor_*_widget_changed): Just return if we are not fully
	initialized
	(init_widget_cb): Set initialized flag
	(struct _GConfPropertyEditorPrivate): Add inited
2001-12-19 20:44:11 +00:00
Bradford Hovinen
9ec85dedd5 Connect to value_changed signal Add properties conv-{to|from}-widget-cb
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new_float_range)
	(gconf_peditor_new_int_range): Connect to value_changed signal Add
	properties conv-{to|from}-widget-cb and use those for conversion
	of values to and from the widget
	(peditor_{int|float}_range_value_changed, friends): Combine into
	peditor_numeric_*
	(gconf_peditor_new): Implement. Factor out some common code from
	the various type-specific constructors
	(peditor_*_value_changed): Don't check if the value is the same as
	what is already in the widget; it's not very important
	(peditor_*_value_changed): Remove the key from the changeset
	(gconf_peditor_new_*): Add g_return_val_if_fail macros
	(gconf_peditor_widget_set_guard): Add g_return_if_fail macros
	(gconf_value_float_to_int, gconf_value_int_to_float): Implement
	(gconf_property_editor_set_prop): Store the callback in the
	property editor proper
	(gconf_peditor_new): Put initialization code in an idle handler

	* gconf-property-editor.c: Add ui-control property storing the
	object (normally a widget) that controls the property; remove
	object property and replace its function with ui-control
2001-12-19 20:19:03 +00:00
Bradford Hovinen
e70b2fb620 Update to reflect changes in gconf peditors (setup_dialog): Use
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (*_{to|from}_gconf): Update to
	reflect changes in gconf peditors
	(setup_dialog): Use numeric_range
2001-12-19 20:18:23 +00:00
Bradford Hovinen
bf698d95b1 Remove --apply and --init-session-settings
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (main): Remove --apply and
	--init-session-settings
2001-12-19 14:59:13 +00:00
Bradford Hovinen
3cacd8d820 Connect to value_changed signal
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new_float_range)
	(gconf_peditor_new_int_range): Connect to value_changed signal

	* capplet-util.c: Comment out most of this file

	* gconf-property-editor.c (gconf_peditor_new_int_range): Convert
	to ~_float_range
	(gconf_peditor_new_float_range): Add callbacks for conversion
	between widget's values and GConf values in the signature
	(peditor_float_range_widget_changed): Issue callback, if
	available, to convert from widget's values to GConf values
	(peditor_float_range_value_changed): Vice verca above
	(gconf_peditor_new_int_range, peditor_int_range_widget_changed)
	(peditor_int_range_value_changed): Implement. Copy from float
	versions
2001-12-19 14:53:59 +00:00
Bradford Hovinen
b8fd80b0a1 Divide by 1000.0, use floats (double_click_to_gconf): Implement
2001-12-19  Bradford Hovinen  <hovinen@ximian.com>

	* mouse-properties-capplet.c (double_click_from_gconf): Divide by
	1000.0, use floats
	(double_click_to_gconf): Implement
	(drawing_area_button_press_event): Don't call
	double_click_from_gconf
	(drawing_area_button_press_event): Use response of
	gconf_change_set_check_value to determine if value is in changeset

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

	* mouse-properties-capplet.c (double_click_from_gconf): Single
	closed-form formula here
	Code reorganization; many changes
2001-12-19 14:53:45 +00:00
Seth Nickell
c1a1e50573 Remove because gnome-core is now installing for the new GNOME CC.
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:
	* gnome-hint-properties.desktop.in:

	Remove because gnome-core is now installing for the
	new GNOME CC.
2001-12-19 11:58:34 +00:00
Seth Nickell
d214b63fe2 Add Categories field so this won't show up in the root panel menu.
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* screensaver.desktop.in.in:

	Add Categories field so this won't show up in the root
	panel menu.
2001-12-19 11:41:19 +00:00
Seth Nickell
b7e19c96b3 Add Categories field so it shows up under the Settings submenu in the
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* default-applications.desktop.in.in:

	Add Categories field so it shows up under the
	Settings submenu in the panel menus.
2001-12-19 11:38:30 +00:00
Seth Nickell
3419fa82da Add Categories field so it goes into the right location in the panel
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* background.desktop.in.in:

	Add Categories field so it goes into the right location
	in the panel menus.
2001-12-19 11:37:18 +00:00
Seth Nickell
fafd072d07 Install into $datadir/applications and add a Categories field to the
2001-12-19  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:
	* gnomecc.desktop.in:

	Install into $datadir/applications and add a Categories
	field to the .desktop file.
2001-12-19 11:31:56 +00:00
Bradford Hovinen
f1aa0eed71 Don't #include bonobo*.h
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.h: Don't #include bonobo*.h
2001-12-18 21:13:16 +00:00
Bradford Hovinen
5cf9b9e178 Enable
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c (get_legacy_settings): Enable
2001-12-18 21:13:03 +00:00
Bradford Hovinen
9cf6051537 Use return value of gconf_change_set_check_value to determine if the key
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c: (get_int_from_changeset): Use return
	value of gconf_change_set_check_value to determine if the key
	is in the set
2001-12-18 21:06:51 +00:00
Bradford Hovinen
4afd7a226f Port to GConf/GNOME 2.0. Many changes. (setup_dialog): Use correct widget
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c: Port to GConf/GNOME 2.0. Many changes.
	(setup_dialog): Use correct widget name
	(create_dialog): Use gtk_image_ functions for the volume icon

	* keyboard-properties.glade: Remove placeholders
2001-12-18 21:03:54 +00:00
Bradford Hovinen (Gdict maintainer)
b8d35def7a Added keyboard schemas 2001-12-18 20:43:59 +00:00
Bradford Hovinen (Gdict maintainer)
6d8f83a769 Added Glade 1.x version of the keyboard properties file 2001-12-18 20:15:23 +00:00
Bradford Hovinen
819c1d2b8f Port to GConf/GNOME 2.0. Many changes.
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* keyboard-properties.c: Port to GConf/GNOME 2.0. Many changes.
2001-12-18 20:15:03 +00:00
Bradford Hovinen
cb0a97e5a3 Don't #include bonobo.h
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c: Don't #include bonobo.h
2001-12-18 19:46:26 +00:00
Bradford Hovinen
0f7c418ab1 Implement
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_int_range_value_changed)
	(peditor_int_range_widget_changed, gconf_peditor_new_int_range):
	Implement
2001-12-18 19:37:49 +00:00
Bradford Hovinen
19d9454148 Use gconf_client rather than gconf_engine
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_load): Use gconf_client rather
	than gconf_engine
2001-12-18 16:40:15 +00:00
Bradford Hovinen
1efa46f928 Use gconf_client rather than gconf_engine
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c: Use gconf_client rather than
	gconf_engine
2001-12-18 16:39:55 +00:00
Bradford Hovinen
66f47e6a78 Use gconf_client rather than gconf_engine (setup_dialog): Use correct path
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c: Use gconf_client rather than
	gconf_engine
	(setup_dialog): Use correct path for enabled
	(main): Preload the background settings directory for performance
2001-12-18 16:39:30 +00:00
Bradford Hovinen
26aba8a5e3 Use actual signature for the changed signal
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_string_widget_changed): Use
	actual signature for the changed signal
2001-12-18 16:18:35 +00:00
Bradford Hovinen
b78df6748e Update GConf keys to use /desktop/gnome/background
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c: Update GConf keys to use /desktop/gnome/background
2001-12-18 16:18:00 +00:00
Bradford Hovinen
1279ed6dcf Update keys to use /desktop/gnome/background
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background.schema: Update keys to use /desktop/gnome/background

	* background-properties-capplet.c: Update GConf keys to use
	/desktop/gnome/background
2001-12-18 16:17:44 +00:00
Bradford Hovinen
82a6d01255 Remove (create_dialog): Return GladeXML, not GtkWidget (setup_dialog): Put
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (property_change_cb): Remove
	(create_dialog): Return GladeXML, not GtkWidget
	(setup_dialog): Put GladeXML in the signature rather than
	GtkWidget
	(peditor_value_changed): Retrieve color_frame directory rather
	than through Glade
	(real_realize_cb): Ditto
	(setup_dialog): Set color-frame rather than glade-data
	(main): Construct the preview applier here rather than in
	create_dialog
	(main): Unref the applier object when the dialog is destroyed
	(setup_dialog, create_dialog): Put the applier in the signature
	Use weak_ref rather than the destroy signal for all relevant
	objects
2001-12-18 16:01:47 +00:00
Bradford Hovinen
143d4e48e3 Use GConf (gnomecc_preferences_save): Ditto
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (gnomecc_preferences_load): Use GConf
	(gnomecc_preferences_save): Ditto
2001-12-18 14:33:23 +00:00
Bradford Hovinen
cd7b14dc6b Move most of the initialization stuff from capplet_dir_view_new to here
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir-view.c (capplet_dir_view_init): Move most of the
	initialization stuff from capplet_dir_view_new to here

	* capplet-dir-view.[ch]: Port to GObject
2001-12-18 14:20:31 +00:00
Bradford Hovinen
d69facaef6 Set the pixmap_id correctly if pixmap is NULL or -1.
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (set_root_pixmap): Set the pixmap_id correctly if
	pixmap is NULL or -1.
2001-12-17 20:47:24 +00:00
Bradford Hovinen
d43d10b25e Update
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background.desktop.in.in (Exec): Update
2001-12-17 20:33:32 +00:00
Bradford Hovinen
74227fb5dc Remove support for launching capplets (real_launch_control): Remove
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (main): Remove support for launching capplets
	(real_launch_control): Remove

	* capplet-dir.c: Remove bonobo capplet utility functions
	(capplet_activate): Don't use capplet_control_launch
2001-12-17 20:33:19 +00:00
Bradford Hovinen
0fb231b7d0 Set the sensitivity of the color frame depending on the settings
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (peditor_value_changed): Set
	the sensitivity of the color frame depending on the settings
	(peditor_value_changed): Use correct keys
2001-12-17 20:01:22 +00:00