diff options
author | Mystery Man <unknown@mandriva.org> | 2001-06-11 13:49:39 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2001-06-11 13:49:39 +0000 |
commit | 16bde8b3d7027aba56051fbf557b7735eb2ee6aa (patch) | |
tree | 0d8736af65eea4a83b8445ee8e2a6d0c951aea67 /perl-install/install_steps_newt.pm | |
parent | 0a121a8ecd6de894c14d60daf9da2022ec47405c (diff) | |
download | drakx-16bde8b3d7027aba56051fbf557b7735eb2ee6aa.tar drakx-16bde8b3d7027aba56051fbf557b7735eb2ee6aa.tar.gz drakx-16bde8b3d7027aba56051fbf557b7735eb2ee6aa.tar.bz2 drakx-16bde8b3d7027aba56051fbf557b7735eb2ee6aa.tar.xz drakx-16bde8b3d7027aba56051fbf557b7735eb2ee6aa.zip |
This commit was manufactured by cvs2svn to create branch 'rp-pppoe'.topic/rp-pppoe
Diffstat (limited to 'perl-install/install_steps_newt.pm')
-rw-r--r-- | perl-install/install_steps_newt.pm | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/perl-install/install_steps_newt.pm b/perl-install/install_steps_newt.pm deleted file mode 100644 index 7fd1cab1f..000000000 --- a/perl-install/install_steps_newt.pm +++ /dev/null @@ -1,60 +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 qw(:common); - -my $banner = __(); - -sub banner { - my $banner = translate(__("Linux-Mandrake Installation %s")); - my $l = first(Newt::GetScreenSize) - length($banner) - length($_[0]) + 1; - Newt::DrawRootText(0, 0, sprintf($banner, ' ' x $l . $_[0])); -} - -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; - |