Fix typo in adjust-opacity part

2001-01-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-background-properties/preferences.c
	(preferences_read_xml): Fix typo in adjust-opacity part

	* capplets/new-background-properties/main.c (do_set_xml): Apply
	preferences as well as saving them
This commit is contained in:
Bradford Hovinen 2001-01-25 15:25:18 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 18b6da4d1a
commit d2d4f6c4f1
3 changed files with 13 additions and 3 deletions

View file

@ -409,7 +409,7 @@ preferences_read_xml (xmlDocPtr xml_doc)
else if (!strcmp (node->name, "auto-apply"))
prefs->auto_apply = TRUE;
else if (!strcmp (node->name, "adjust-opacity"))
prefs->auto_apply = TRUE;
prefs->adjust_opacity = TRUE;
else if (!strcmp (node->name, "opacity"))
prefs->opacity = xml_read_int (node, NULL);
}