diff options
author | Mystery Man <unknown@mandriva.org> | 2002-07-31 23:10:55 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2002-07-31 23:10:55 +0000 |
commit | 6b5bb447b11a31fc0961c20485505a633c9ab4eb (patch) | |
tree | eae73bee290e1e328b539f7649818d7584ee667e /perl-install/install_steps_newt.pm | |
parent | 79d226c48d6de4f26c604ddbd0ce769a58d548c6 (diff) | |
download | drakx-backup-do-not-use-1_1_8_16mdk.tar drakx-backup-do-not-use-1_1_8_16mdk.tar.gz drakx-backup-do-not-use-1_1_8_16mdk.tar.bz2 drakx-backup-do-not-use-1_1_8_16mdk.tar.xz drakx-backup-do-not-use-1_1_8_16mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V1_1_8_16mdk'.V1_1_8_16mdk
Diffstat (limited to 'perl-install/install_steps_newt.pm')
-rw-r--r-- | perl-install/install_steps_newt.pm | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/perl-install/install_steps_newt.pm b/perl-install/install_steps_newt.pm deleted file mode 100644 index d8e755130..000000000 --- a/perl-install/install_steps_newt.pm +++ /dev/null @@ -1,61 +0,0 @@ -package install_steps_newt; # $Id$ - -use diagnostics; -use strict; -use vars qw(@ISA); - -@ISA = qw(install_steps_interactive interactive::newt); - -#-###################################################################################### -#- misc imports -#-###################################################################################### -use install_steps_interactive; -use interactive::newt; -use install_any; -use devices; -use lang; -use common; - -my $banner = __(); - -sub banner { - my $banner = translate(__("Mandrake Linux Installation %s")); - my $l = first(Newt::GetScreenSize) - length($banner) - length($_[0]) + 1; - Newt::DrawRootText(0, 0, sprintf($banner, ' ' x $l . $_[0])); - Newt::Refresh; -} - -sub new($$) { - my ($type, $o) = @_; - - interactive::newt->new; - - banner(''); - Newt::PushHelpLine(_(" <Tab>/<Alt-Tab> between elements | <Space> selects | <F12> next screen ")); - - (bless {}, ref $type || $type)->SUPER::new($o); -} - -sub enteringStep { - my ($o, $step) = @_; - $o->SUPER::enteringStep($step); - banner(translate($o->{steps}{$step}{text})); -} - -sub exitInstall { - &install_steps_interactive::exitInstall; - interactive::newt::end(); -} - -#-###################################################################################### -#- Steps Functions -#-###################################################################################### -sub selectLanguage { - my ($o) = @_; - $o->SUPER::selectLanguage; - lang::load_console_font($o->{lang}); -} - - -1; - |