summaryrefslogtreecommitdiffstats
path: root/drakpxelinux.pl
diff options
context:
space:
mode:
Diffstat (limited to 'drakpxelinux.pl')
-rw-r--r--drakpxelinux.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl
index 2ad081a..39a6bdf 100644
--- a/drakpxelinux.pl
+++ b/drakpxelinux.pl
@@ -608,7 +608,7 @@ sub cell_edited {
network::pxe::write_pxelinux_conf($pxelinux_conf);
}
-sub show_help { info_dialog("help",
+sub show_help() { info_dialog("help",
gtkpack_(gtkset_border_width(Gtk2::VBox->new, 3),
0, $help,
0, gtksignal_connect(set_help_tip(Gtk2::Button->new(N("online PXE documentation")), 'helponline'),
@@ -868,9 +868,7 @@ $W->add(gtkpack_(Gtk2::VBox->new(0,0),
. "\n\n" . $err);
}
}),
- 0, gtksignal_connect(new Gtk2::Button(N("Help")),
- clicked => sub { show_help }
- ),
+ 0, gtksignal_connect(new Gtk2::Button(N("Help")), clicked => \&show_help),
),
if_($::isEmbedded, 0, $okcancel),
),