diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-05-06 09:40:22 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-05-06 09:40:22 +0000 |
commit | c06bd4871e5eb5ee4182050260ff3f8fdb9b6ce6 (patch) | |
tree | dbbd11c614528ec2fa4af9abdcee7241b6a177ce /javainstaller2 | |
parent | 75d2e0d274ffa173398a237ca289f28ec2f586b6 (diff) |
INTEGRATION: CWS native147 (1.3.2); FILE MERGED
2008/04/21 13:02:19 is 1.3.2.1: #i88334# packages no longer relocatable
Diffstat (limited to 'javainstaller2')
-rwxr-xr-x | javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/ChooseInstallationTypeCtrl.java | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/ChooseInstallationTypeCtrl.java b/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/ChooseInstallationTypeCtrl.java index b2839018343f..84f7e8a45086 100755 --- a/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/ChooseInstallationTypeCtrl.java +++ b/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/ChooseInstallationTypeCtrl.java @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ChooseInstallationTypeCtrl.java,v $ - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * @@ -67,7 +67,18 @@ public class ChooseInstallationTypeCtrl extends PanelController implements Actio } public String getPrevious() { - return new String("ChooseDirectory"); + + InstallData data = InstallData.getInstance(); + + if ( data.isRootInstallation() ) { + if ( data.hideEula() ) { + return new String("Prologue"); + } else { + return new String("AcceptLicense"); + } + } else { + return new String("ChooseDirectory"); + } } public final String getHelpFileName () { |