summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-09-12 15:16:23 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-09-12 15:16:23 +0000
commit7279f126fe54953deda4f9454298c2cb197672b3 (patch)
tree73ad189c116023e57f99e261f0032a26bc12ccf0
parent010b2ecd94d69e5b0cf83dba5f0ad42530da6397 (diff)
downloaddrakpxelinux-7279f126fe54953deda4f9454298c2cb197672b3.tar
drakpxelinux-7279f126fe54953deda4f9454298c2cb197672b3.tar.gz
drakpxelinux-7279f126fe54953deda4f9454298c2cb197672b3.tar.bz2
drakpxelinux-7279f126fe54953deda4f9454298c2cb197672b3.tar.xz
drakpxelinux-7279f126fe54953deda4f9454298c2cb197672b3.zip
now user can't change initrd and kernel path
-rw-r--r--drakpxelinux.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl
index 0fa32bf..2af94fb 100644
--- a/drakpxelinux.pl
+++ b/drakpxelinux.pl
@@ -505,6 +505,7 @@ sub edit_box_item {
my $kernel = Gtk2::Entry->new;
$kernel->set_text($entry->{kernel});
+ $kernel->set_sensitive(0);
set_help_tip($kernel, 'kernel');
my $file_dialogk = $fdwidget->($kernel, "", "kernel", $entry->{label});
@@ -513,6 +514,7 @@ sub edit_box_item {
$buttonkernel->signal_connect(clicked => sub { $file_dialogk->show });
my $initrd = Gtk2::Entry->new;
+ $initrd->set_sensitive(0);
$initrd->set_text($entry->{initrd});
set_help_tip($initrd, 'initrd');