summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-06 20:36:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-06 20:36:12 +0000
commitd3607f20fc5c9d5c2bb66d6a2c9832393f63691c (patch)
treedee39aa7b886283f0202c50b5059fc454ad50db6
parent018ed46bb0136e7c881a94ce14a74e029c1f8618 (diff)
downloaddrakx-d3607f20fc5c9d5c2bb66d6a2c9832393f63691c.tar
drakx-d3607f20fc5c9d5c2bb66d6a2c9832393f63691c.tar.gz
drakx-d3607f20fc5c9d5c2bb66d6a2c9832393f63691c.tar.bz2
drakx-d3607f20fc5c9d5c2bb66d6a2c9832393f63691c.tar.xz
drakx-d3607f20fc5c9d5c2bb66d6a2c9832393f63691c.zip
add "Help" button
-rw-r--r--perl-install/diskdrake/hd_gtk.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 134d79e0a..6bd61bd24 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -153,6 +153,9 @@ sub add_kind2notebook {
sub general_action_box {
my ($box, $nowizard) = @_;
$_->widget->destroy foreach $box->children;
+
+ gtkadd($box, gtksignal_connect(Gtk2::Button->new(N("Help")), clicked => $in->{interactive_help})) if $in->{interactive_help};
+
my @actions = (if_($::isInstall && !$nowizard, N_("Wizard")),
diskdrake::interactive::general_possible_actions($in, $all_hds),
N_("Done"));