summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-06 14:25:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-06 14:25:49 +0000
commit5ad11e2e83343c6a16f894c0ea598266f9cf9252 (patch)
treecce89ec79fd0a189c4a9986cc133c3e877a383ff /perl-install/install_steps_gtk.pm
parent706aa6864a6aa8d46c45956046b12b81bd218485 (diff)
downloaddrakx-backup-do-not-use-5ad11e2e83343c6a16f894c0ea598266f9cf9252.tar
drakx-backup-do-not-use-5ad11e2e83343c6a16f894c0ea598266f9cf9252.tar.gz
drakx-backup-do-not-use-5ad11e2e83343c6a16f894c0ea598266f9cf9252.tar.bz2
drakx-backup-do-not-use-5ad11e2e83343c6a16f894c0ea598266f9cf9252.tar.xz
drakx-backup-do-not-use-5ad11e2e83343c6a16f894c0ea598266f9cf9252.zip
add "Help" button
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index bb69a8147..7e6d438b3 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -123,6 +123,13 @@ 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->main;
+ };
$ugtk2::force_center = [ $::rootwidth - $::windowwidth, $::logoheight, $::windowwidth, $::windowheight ];
$o = (bless {}, ref $type || $type)->SUPER::new($o);
@@ -273,7 +280,6 @@ sub reallyChooseGroups {
1;
}
-
sub choosePackagesTree {
my ($o, $packages, $limit_to_medium) = @_;