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
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,8 @@
|
||||||
|
2001-06-20 Bradford Hovinen <hovinen@ximian.com>
|
||||||
|
|
||||||
|
* capplets/new-*/main.c (do_set_xml): Don't save unless
|
||||||
|
apply_settings is set
|
||||||
|
|
||||||
2001-06-20 Richard Hestilow <hestilow@ximian.com>
|
2001-06-20 Richard Hestilow <hestilow@ximian.com>
|
||||||
|
|
||||||
* capplets/new-background-properties/applicer.c
|
* capplets/new-background-properties/applicer.c
|
||||||
|
@ -17,6 +22,12 @@
|
||||||
fread () to make sure to catch end-of-file. Gracefully handle
|
fread () to make sure to catch end-of-file. Gracefully handle
|
||||||
no-data case.
|
no-data case.
|
||||||
|
|
||||||
|
2001-06-12 Bradford Hovinen <hovinen@ximian.com>
|
||||||
|
|
||||||
|
* capplets/new-mouse-properties/main.c (ok_cb):
|
||||||
|
(cancel_cb): Add #ifdef HAVE_XIMIAN_ARCHIVER around some parts
|
||||||
|
missing it
|
||||||
|
|
||||||
2001-06-07 Christian Rose <menthos@menthos.com>
|
2001-06-07 Christian Rose <menthos@menthos.com>
|
||||||
|
|
||||||
* capplets/desktop-links/Appearances.directory,
|
* capplets/desktop-links/Appearances.directory,
|
||||||
|
|
|
@ -175,10 +175,10 @@ do_set_xml (gboolean apply_settings)
|
||||||
prefs = preferences_read_xml (doc);
|
prefs = preferences_read_xml (doc);
|
||||||
|
|
||||||
if (prefs != NULL) {
|
if (prefs != NULL) {
|
||||||
preferences_save (prefs);
|
if (apply_settings) {
|
||||||
|
preferences_save (prefs);
|
||||||
if (apply_settings)
|
|
||||||
preferences_apply_now (prefs);
|
preferences_apply_now (prefs);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -164,10 +164,10 @@ do_set_xml (gboolean apply_settings)
|
||||||
prefs = preferences_read_xml (doc);
|
prefs = preferences_read_xml (doc);
|
||||||
|
|
||||||
if (prefs != NULL) {
|
if (prefs != NULL) {
|
||||||
preferences_save (prefs);
|
if (apply_settings) {
|
||||||
|
preferences_save (prefs);
|
||||||
if (apply_settings)
|
|
||||||
preferences_apply_now (prefs);
|
preferences_apply_now (prefs);
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue