Browse Source

* Select a default entry in the main-menu.

r585
keep-around/c8703c509368e1805e513d61f98a9d17d2cdd9cc
Raphaël Hertzog 21 years ago
parent
commit
303b83d224
  1. 6
      debian/changelog
  2. 1
      debian/templates
  3. 2
      main-menu.c

6
debian/changelog

@ -1,3 +1,9 @@
main-menu (0.010) unstable; urgency=low
* Select a default choice each time.
-- Raphael Hertzog <hertzog@debian.org> Sat, 4 Aug 2001 00:55:04 +0200
main-menu (0.009) unstable; urgency=low
* Use seen flag rather than old isdefault flag. (The isdefault() function

1
debian/templates

@ -1,5 +1,6 @@
Template: debian-installer/main-menu
Type: select
Choices: ${MENU}
Default: ${DEFAULT}
Description: Choose the next step:
Here is the main menu of the Debian installer.

2
main-menu.c

@ -159,6 +159,8 @@ struct package_t *show_main_menu(struct package_t *packages) {
debconf->command(debconf, "SET", MAIN_MENU, menudefault, NULL);
debconf->command(debconf, "FSET", MAIN_MENU, "seen", "false", NULL);
debconf->command(debconf, "SUBST", MAIN_MENU, "MENU", menutext, NULL);
if (menudefault)
debconf->command(debconf, "SUBST", MAIN_MENU, "DEFAULT", menudefault, NULL);
debconf->command(debconf, "INPUT medium", MAIN_MENU, NULL);
debconf->command(debconf, "GO", NULL);
debconf->command(debconf, "GET", MAIN_MENU, NULL);

Loading…
Cancel
Save