summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-12-18 02:04:02 +0000
committerjkh <jkh@FreeBSD.org>1999-12-18 02:04:02 +0000
commit47050d6c137bce4f2a809114afa4ea393a454bc1 (patch)
tree78c19e51580f18a187f0f0b84da45cf5cf2e9cdc /release
parentedb45ae09669e5294f5d67cbc14822f05058dccc (diff)
downloadFreeBSD-src-47050d6c137bce4f2a809114afa4ea393a454bc1.zip
FreeBSD-src-47050d6c137bce4f2a809114afa4ea393a454bc1.tar.gz
Better screen handling in X desktop setup.
Don't get cute with nested dialogs now.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/config.c3
-rw-r--r--release/sysinstall/label.c11
2 files changed, 1 insertions, 13 deletions
diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c
index b33b017..c4c241a 100644
--- a/release/sysinstall/config.c
+++ b/release/sysinstall/config.c
@@ -564,11 +564,10 @@ configXSetup(dialogMenuItem *self)
{
char *config, *execfile, *style;
char *moused;
- WINDOW *w;
+ WINDOW *w = savescr();
setenv("XWINHOME", "/usr/X11R6", 1);
tryagain:
- w = savescr();
variable_unset(VAR_DESKSTYLE);
variable_unset(VAR_XF86_CONFIG);
dialog_clear_norefresh();
diff --git a/release/sysinstall/label.c b/release/sysinstall/label.c
index 9e9049a..bce434e 100644
--- a/release/sysinstall/label.c
+++ b/release/sysinstall/label.c
@@ -327,12 +327,7 @@ get_mountpoint(struct chunk *old)
tmp = old->private_data;
else
tmp = NULL;
- if (!old) {
- DialogX = 14;
- DialogY = 16;
- }
val = msgGetInput(tmp ? tmp->mountpoint : NULL, "Please specify a mount point for the partition");
- DialogX = DialogY = 0;
if (!val || !*val) {
if (!old)
return NULL;
@@ -391,13 +386,10 @@ get_partition_type(void)
};
WINDOW *w = savescr();
- DialogX = 7;
- DialogY = 8;
i = dialog_menu("Please choose a partition type",
"If you want to use this partition for swap space, select Swap.\n"
"If you want to put a filesystem on it, choose FS.",
-1, -1, 2, 2, fs_types, selection, NULL, NULL);
- DialogX = DialogY = 0;
restorescr(w);
if (!i) {
if (!strcmp(selection, "FS"))
@@ -908,13 +900,10 @@ diskLabel(Device *dev)
u_long flags = 0;
sprintf(osize, "%d", sz);
- DialogX = 3;
- DialogY = 2;
val = msgGetInput(osize,
"Please specify the partition size in blocks or append a trailing M for\n"
"megabytes or C for cylinders. %d blocks (%dMB) are free.",
sz, sz / ONE_MEG);
- DialogX = DialogY = 0;
if (!val || (size = strtol(val, &cp, 0)) <= 0) {
clear_wins();
break;
OpenPOWER on IntegriCloud