diff options
author | George Lebl <jirka@5z.com> | 2000-11-06 03:36:43 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 2000-11-06 03:36:43 +0000 |
commit | 6892eefc6a1d3b5bdcb1fac78b26951cbd818d3a (patch) | |
tree | 027960e48bd8de26e9c739f60c788f7d42ac349c /battery | |
parent | acf7b71bc604eff10b386ce8824112458111e401 (diff) |
fix second part of #23977, by saving low_warn_enable
Sun Nov 05 22:37:58 2000 George Lebl <jirka@5z.com>
* session.c: fix second part of #23977, by saving low_warn_enable
Diffstat (limited to 'battery')
-rw-r--r-- | battery/ChangeLog | 4 | ||||
-rw-r--r-- | battery/session.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/battery/ChangeLog b/battery/ChangeLog index 312974593..39f2b8c63 100644 --- a/battery/ChangeLog +++ b/battery/ChangeLog @@ -1,3 +1,7 @@ +Sun Nov 05 22:37:58 2000 George Lebl <jirka@5z.com> + + * session.c: fix second part of #23977, by saving low_warn_enable + Sun Nov 05 22:27:06 2000 George Lebl <jirka@5z.com> * battery.[ch], read-battery.[ch], session.c: Use -1 percentage diff --git a/battery/session.c b/battery/session.c index 3e30656eb..235e036fd 100644 --- a/battery/session.c +++ b/battery/session.c @@ -150,6 +150,8 @@ battery_session_save(GtkWidget * w, gnome_config_set_int ("battery/interval", bat->update_interval); gnome_config_set_int ("battery/low_charge_val", bat->low_charge_val); gnome_config_set_int ("battery/low_warn_val", bat->low_warn_val); + gnome_config_set_bool ("battery/low_warn_enable", + bat->low_warn_enable); gnome_config_set_bool ("battery/full_notify_enable", bat->full_notify_enable); |