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:
parent
18b6da4d1a
commit
d2d4f6c4f1
3 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
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
|
||||
|
||||
2001-01-24 jacob berkman <jacob@ximian.com>
|
||||
|
||||
* new-control-center/*.[ch]: new (temporary) html view and bug
|
||||
|
|
|
@ -116,11 +116,13 @@ 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
|
||||
main (int argc, char **argv)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue