Commit graph

1775 commits

Author SHA1 Message Date
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
Bradford Hovinen
27097008ce Enabled set_guard call
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (setup_dialog): Enabled
	set_guard call
2001-12-17 19:33:12 +00:00
Bradford Hovinen
250f23b97b Work correctly with multiple callback signatures
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_string_widget_changed):
	Work correctly with multiple callback signatures
	(gconf_peditor_new_string): Use changed signal
2001-12-17 19:32:15 +00:00
Bradford Hovinen
7b408b24fc Connect missing signal
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (setup_dialog): Connect
	missing signal
2001-12-17 18:33:12 +00:00
Bradford Hovinen
3504b0d5ab Use correct keys
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_merge_entry): Use correct keys
2001-12-17 18:23:47 +00:00
Bradford Hovinen
ac131fc554 Use gtk_option_menu_set_history
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_select_menu_value_changed):
	Use gtk_option_menu_set_history
2001-12-17 18:23:18 +00:00
Bradford Hovinen
aa5de9e7cc Implement (peditor_color_widget_changed): Use correct signature for the
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_property_editor_get_key):
	Implement
	(peditor_color_widget_changed): Use correct signature for the
	signal handler
2001-12-17 18:18:22 +00:00
Bradford Hovinen
7241f04206 Retrieve the applier from the preferences object and use it to apply
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* background-properties-capplet.c (peditor_value_changed):
	Retrieve the applier from the preferences object and use it to
	apply settings on the preview widget
2001-12-17 18:17:57 +00:00
Bradford Hovinen
182743f90e s/gtk_object_destroy/g_object_unref/
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (applier_apply_prefs):
	s/gtk_object_destroy/g_object_unref/
2001-12-17 18:17:25 +00:00