Don't save unless apply_settings is set
2001-06-20 Bradford Hovinen <hovinen@ximian.com> * capplets/new-*/main.c (do_set_xml): Don't save unless apply_settings is set
This commit is contained in:
parent
c39d6dff02
commit
3f08be4e57
3 changed files with 17 additions and 6 deletions
|
@ -164,10 +164,10 @@ do_set_xml (gboolean apply_settings)
|
|||
prefs = preferences_read_xml (doc);
|
||||
|
||||
if (prefs != NULL) {
|
||||
preferences_save (prefs);
|
||||
|
||||
if (apply_settings)
|
||||
if (apply_settings) {
|
||||
preferences_save (prefs);
|
||||
preferences_apply_now (prefs);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue