diff options
author | Mystery Man <unknown@mandriva.org> | 2001-09-05 12:55:06 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2001-09-05 12:55:06 +0000 |
commit | ec7d8bfda214073d222fcadfa1ac9d3ed884ea87 (patch) | |
tree | d17c669ffaea9eae8bbc6b1b82b6164e75c6c42d /perl-install/install_steps_newt.pm | |
parent | d2428470c34f096821615c7f119775b03aa86253 (diff) | |
download | drakx-V_9mdk.tar drakx-V_9mdk.tar.gz drakx-V_9mdk.tar.bz2 drakx-V_9mdk.tar.xz drakx-V_9mdk.zip |
This commit was manufactured by cvs2svn to create tag 'V_9mdk'.V_9mdk
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 2292094b0..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; - |