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

@ -116,10 +116,12 @@ do_set_xml (void)
prefs = preferences_read_xml (doc);
if (prefs)
if (prefs) {
preferences_save (prefs);
else
preferences_apply_now (prefs);
} else {
g_warning ("Error while reading the screensaver config file");
}
}
int