From 8b40fda0dc40ead9ddc4a9866f90ae6c379f012b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 27 Jan 2009 17:30:38 +0000 Subject: only show the "Boot Options" entry when Fkey for "Kernel Option" is pressed the difficulty here is to workaround the "Boot Options" from dirtying the display of the panel below it. A solution would be to move the "Boot Options" upper to leave some room between it and the panel. also adding the "Kernel Option" choice for grub, since otherwise you can't edit "Boot Options" --- src/dia_kernelopts.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/dia_kernelopts.inc') diff --git a/src/dia_kernelopts.inc b/src/dia_kernelopts.inc index 942efb6..34b0d70 100644 --- a/src/dia_kernelopts.inc +++ b/src/dia_kernelopts.inc @@ -48,7 +48,7 @@ /kernelopts.update { /xmenu xmenu.kernelopts def - /window.action actRedrawPanel def + /window.action actRedrawBootOptionsPanel def } def @@ -60,6 +60,10 @@ /panel.kernelopts { "main" help.setcontext + boot.show not { + /boot.show true def + } if + window.xmenu dup .xmenu xmenu.kernelopts put dup .xmenu.update /kernelopts.update put -- cgit v1.2.1