From 136c59737310c46e3e736786ad3c6dca9b3725a8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 13 Feb 2003 12:00:36 +0000 Subject: - {interactive_help} is a function returning text, it doesn't need to do the help window - drop global interactive_help during install. Will be done per ->ask_* --- perl-install/install_steps_gtk.pm | 8 -------- 1 file changed, 8 deletions(-) (limited to 'perl-install/install_steps_gtk.pm') diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm index cc6b2e168..bfe920546 100644 --- a/perl-install/install_steps_gtk.pm +++ b/perl-install/install_steps_gtk.pm @@ -125,14 +125,6 @@ sub new($$) { install_gtk::install_theme($o, install_gtk::default_theme($o)); install_gtk::create_logo_window($o); - $o->{interactive_help} = sub { - my $w = ugtk2->new(''); - $w->{rwindow}->set_size_request($::windowwidth * 0.92, $::windowheight * 0.9); - gtkadd($w->{window}, gtkpack__(create_box_with_title($w, $o->{current_help}), - $w->create_okcancel(N("Ok")))); - $w->{ok}->grab_focus; - $w->main; - }; $ugtk2::force_center = [ $::rootwidth - $::windowwidth, $::logoheight, $::windowwidth, $::windowheight ]; $o = (bless {}, ref($type) || $type)->SUPER::new($o); -- cgit v1.2.1