Copy dialog_use_icons field

2000-09-24  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-ui-properties/preferences.c
 	(preferences_clone): Copy dialog_use_icons field

	* capplets/new-ui-properties/prefs-widget-dialogs.c: Use standard
	macro for dialog_icons

	* capplets/new-ui-properties/prefs-widget.h
 	(struct _widget_desc_t): Remove field prefs_offset

	* capplets/new-ui-properties/preferences.c
 	(preferences_get_dialog_icons):
	(preferences_set_dialog_icons): Implement

	* capplets/new-ui-properties/prefs-widget.c (read_preferences):
	(register_callbacks):
	(toggled_cb):
	(selected_cb): Remove support for direct struct offset manipulation

	* capplet-widget.c (capplet_widget_multi_new): Set capid
	(capplet_widget_init): Set capid to current global value
	(capplet_widget_class_get_capid): Implement; return the capid
	passed on the command line

	* capplet-widget.h (struct _CappletWidget): Remove buffer between
	frame and plug sizes
This commit is contained in:
Bradford Hovinen 2000-09-24 15:49:19 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 3443f5573f
commit fb69525257
7 changed files with 60 additions and 34 deletions

View file

@ -37,8 +37,7 @@ static widget_desc_t widget_desc[] = {
WD_OPTION (dialog_position, "dialog_position"),
WD_OPTION (dialog_type, "dialog_type"),
WD_CHECK (dialog_centered, "dialog_centered"),
{ WDTYPE_CHECK, "dialog_icons_toggle", NULL, NULL,
GTK_STRUCT_OFFSET (Preferences, dialog_use_icons) },
WD_CHECK (dialog_icons, "dialog_icons"),
WD_END
};