From be7b6b502f0f67ba4967c1e639055102a8148148 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 5 Feb 2008 13:52:55 +0000 Subject: [PATCH] * Add acpi=off, noapic, and nolapic options to the "Other Options" menu. --- debian/changelog | 1 + dia_fulloptions.inc | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index b6dd730..b4a457c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ gfxboot-theme-ubuntu (0.5.2) UNRELEASED; urgency=low * Filter out translations for various languages (Arabic, Dzongkha, Indic, Mongolian, Thai) that we cannot render properly for various reasons. * Give checkbox semantics to the items in the F6 "Other Options" menu. + * Add acpi=off, noapic, and nolapic options to the "Other Options" menu. -- Colin Watson Sun, 03 Feb 2008 18:09:54 +0000 diff --git a/dia_fulloptions.inc b/dia_fulloptions.inc index 97536a9..1bf780e 100644 --- a/dia_fulloptions.inc +++ b/dia_fulloptions.inc @@ -8,6 +8,14 @@ /fulloptions.option .undef def /.fulloptions.expert 0 def +/.fulloptions.acpi_off 1 def +/.fulloptions.noapic 2 def +/.fulloptions.nolapic 3 def + +% These strings are not translatable. +/txt_acpi_off "acpi=off" def +/txt_noapic "noapic" def +/txt_nolapic "nolapic" def % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -21,7 +29,7 @@ xmenu .xm_current .fulloptions.expert put - xmenu .xm_list [ /txt_expert_mode ] put + xmenu .xm_list [ /txt_expert_mode /txt_acpi_off /txt_noapic /txt_nolapic ] put xmenu .xm_title /txt_other_options put xmenu .xm_check 1 put @@ -49,6 +57,9 @@ over over get { .undef over .fulloptions.expert eq { pop "priority=low" } if + over .fulloptions.acpi_off eq { pop "acpi=off" } if + over .fulloptions.noapic eq { pop "noapic" } if + over .fulloptions.nolapic eq { pop "nolapic" } if dup { % append new option string dup length fulloptions.option length add 1 add string