From 285dfe16f16a8e245a650bf1153ce7fef2406c00 Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Wed, 11 Dec 2002 02:12:27 +0000 Subject: tweak upgrade examine screen --- textw/upgrade_text.py | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/textw/upgrade_text.py b/textw/upgrade_text.py index 6afe89b69..0b1a6c331 100644 --- a/textw/upgrade_text.py +++ b/textw/upgrade_text.py @@ -197,16 +197,22 @@ class UpgradeExamineWindow: scroll = 0 partList = [] for (drive, fs, desc) in parts: - partList.append("/dev/%s (%s)" %(drive, desc)) - partList.append("Don't Upgrade") + if drive[:5] != "/dev/": + devname = "/dev/" + drive + else: + devname = drive + partList.append("%s (%s)" %(desc, drive)) + partList.append("Reinstall System") (button, choice) = ListboxChoiceWindow(screen, _("System to Upgrade"), - _("The following root partitions have been found " - "on your system. FIXME: I NEED BETTER TEXT " - "HERE."), partList, + _("One or more existing Linux installations " + "have been found " + "on your system.\n\nPlease choose one to upgrade, " + "or select 'Reinstall System' to freshly install " + "your system."), partList, [ TEXT_OK_BUTTON, TEXT_BACK_BUTTON ], - width = 30, scroll = scroll, + width = 55, scroll = scroll, height = height, help = "upgraderoot") -- cgit