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
This commit is contained in:
Bradford Hovinen 2001-12-19 14:53:59 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent b8fd80b0a1
commit 3cacd8d820
4 changed files with 174 additions and 32 deletions

View file

@ -40,6 +40,8 @@ static SetupPropertyEditorsFn setup_property_editors_cb = NULL;
static GConfChangeSet *changeset;
#if 0
/* apply_cb
*
* Callback issued when the user clicks "Apply" or "Ok". This function is
@ -171,6 +173,8 @@ get_property_name (const gchar *binary)
return res;
}
#endif
/* setup_session_mgmt
*
* Make sure the capplet launches and applies its settings next time the user
@ -218,6 +222,8 @@ setup_session_mgmt (const gchar *binary_name)
#endif
}
#if 0
/* capplet_init -- see documentation in capplet-util.h
*/
@ -282,3 +288,5 @@ capplet_init (int argc,
gconf_change_set_unref (changeset);
}
}
#endif