summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-09-13 08:59:57 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-09-13 08:59:57 +0000
commit8ad264b0c1e31bbbdcb9cec949957e91269e51ca (patch)
tree52f1843960422c493662d1f6318d1fcea23be065
parent2028ea3cad97191ff264c8edc481fcd2771529eb (diff)
downloaddrakpxelinux-8ad264b0c1e31bbbdcb9cec949957e91269e51ca.tar
drakpxelinux-8ad264b0c1e31bbbdcb9cec949957e91269e51ca.tar.gz
drakpxelinux-8ad264b0c1e31bbbdcb9cec949957e91269e51ca.tar.bz2
drakpxelinux-8ad264b0c1e31bbbdcb9cec949957e91269e51ca.tar.xz
drakpxelinux-8ad264b0c1e31bbbdcb9cec949957e91269e51ca.zip
clone/add/remove now refresh default boot menu
-rw-r--r--drakpxelinux.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl
index 9e73b35..a9943cf 100644
--- a/drakpxelinux.pl
+++ b/drakpxelinux.pl
@@ -346,8 +346,8 @@ sub wizard_add_entry {
$pxelinux_conf->{display} = 'messages';
$pxelinux_conf->{timeout} = '50';
$pxelinux_conf->{prompt} = '10';
- refresh_menu();
}
+ refresh_menu();
undef $w;
return;
},
@@ -396,6 +396,7 @@ sub remove_item {
$model->remove($iter);
splice @{$pxelinux_conf->{entries}}, $i, 1;
write_conf($pxelinux_conf, $treeview);
+ refresh_menu();
}
}
@@ -437,6 +438,7 @@ sub clone_box_item {
])
);
$w->main;
+ refresh_menu();
}
}