diff options
Diffstat (limited to 'drakpxelinux.pl')
-rw-r--r-- | drakpxelinux.pl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl index d55e11c..a3e2929 100644 --- a/drakpxelinux.pl +++ b/drakpxelinux.pl @@ -254,7 +254,7 @@ sub add_item { my ($model, $treeview) = @_; my @a; push @a, { - label => "cooker", + label => "cooker_add", info => "install cooker", kernel => "/images/cooker", initrd => "images/cooker.rdz", @@ -285,8 +285,10 @@ sub add_item { COLUMN_DISPLAY, $a[-1]{display}, COLUMN_OPTION, $a[-1]{option}, ); - write_conf_pxe; - # edit_box_item($model, $treeview, "-1"); + create_dialog(N("add Entry in PXE"), N("A virtual entry in PXE list was created.\n +Now choose the last entry named 'cooker_add' +and choose edit buton. +Otherwise your new entry wont be added to PXE list.")); } sub remove_item { @@ -309,13 +311,13 @@ sub remove_item { sub test_similar_label { my ($newlabel) = @_; if (any { /^label $newlabel$/ } cat_($conf)) { - err_dialog(N("Error !"), N("similar entry in PXE, choose another label please")) and return 0; + err_dialog(N("Error !"), N("Found a similar entry in PXE list labeled : $newlabel.\nChoose another label please")) and return 0; } else { return 1 }; } sub edit_box_item { my ($widget, $treeview, $indice) = @_; - $::isWizard = 0; + # $::isWizard = 0; my $model = $treeview->get_model; my $selection = $treeview->get_selection; |