summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/hd_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-16 20:22:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-16 20:22:24 +0000
commit8c847f02b2ff79db0f8ecc0a3041d964f0658c37 (patch)
tree49faccdef1a9d3b80b347f43f4f2154ba74dcf92 /perl-install/diskdrake/hd_gtk.pm
parent65476d975761958788bef066c0640f56cc213b64 (diff)
downloaddrakx-8c847f02b2ff79db0f8ecc0a3041d964f0658c37.tar
drakx-8c847f02b2ff79db0f8ecc0a3041d964f0658c37.tar.gz
drakx-8c847f02b2ff79db0f8ecc0a3041d964f0658c37.tar.bz2
drakx-8c847f02b2ff79db0f8ecc0a3041d964f0658c37.tar.xz
drakx-8c847f02b2ff79db0f8ecc0a3041d964f0658c37.zip
- factorize "Help"-button handling
- fix interactive_help_get_id (happily, it was no pb :)
Diffstat (limited to 'perl-install/diskdrake/hd_gtk.pm')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 0ee38fc49..804c57f8c 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -154,7 +154,7 @@ sub general_action_box {
my ($box, $nowizard, $interactive_help) = @_;
$_->widget->destroy foreach $box->children;
- gtkadd($box, gtksignal_connect(Gtk2::Button->new(N("Help")), clicked => sub { $in->ask_warn(N("Help"), $interactive_help->()) })) if $interactive_help;
+ gtkadd($box, gtksignal_connect(Gtk2::Button->new(N("Help")), clicked => $interactive_help->())) if $interactive_help;
my @actions = (if_($::isInstall && !$nowizard, N_("Wizard")),
diskdrake::interactive::general_possible_actions($in, $all_hds),