diff options
author | jkh <jkh@FreeBSD.org> | 1996-11-04 17:42:22 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-11-04 17:42:22 +0000 |
commit | ee3ca8f901e7f7f0e29c72b4f991aebf4f9f6461 (patch) | |
tree | b436e9a1b52884f2565b559b77a722ab1fa0ddeb /usr.sbin/sade/config.c | |
parent | 681d5cbae48a5ea6f09d02077955a4d2bfdf85c7 (diff) | |
download | FreeBSD-src-ee3ca8f901e7f7f0e29c72b4f991aebf4f9f6461.zip FreeBSD-src-ee3ca8f901e7f7f0e29c72b4f991aebf4f9f6461.tar.gz |
Placate Joerg some more by making screen savers get a reasonable default
timeout.
2.2-RELEASE candidate, like all the work here in release/sysinstall.
Diffstat (limited to 'usr.sbin/sade/config.c')
-rw-r--r-- | usr.sbin/sade/config.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/sade/config.c b/usr.sbin/sade/config.c index f309840..fbed13f 100644 --- a/usr.sbin/sade/config.c +++ b/usr.sbin/sade/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.51 1996/10/14 21:32:25 jkh Exp $ + * $Id: config.c,v 1.52 1996/11/04 12:56:17 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -324,6 +324,15 @@ configSysconfig(char *config) } int +configSaver(dialogMenuItem *self) +{ + variable_set((char *)self->data); + if (!variable_get(VAR_BLANKTIME)) + variable_set2(VAR_BLANKTIME, "300"); + return DITEM_SUCCESS; +} + +int configSaverTimeout(dialogMenuItem *self) { if (variable_get(VAR_BLANKTIME)) { |