Browse Source

don't restore previous default priority when selecting a neverdefault item

r46103
keep-around/c8703c509368e1805e513d61f98a9d17d2cdd9cc
Colin Watson 15 years ago
parent
commit
7b87dce1fd
  1. 4
      debian/changelog
  2. 2
      main-menu.c

4
debian/changelog

@ -3,8 +3,8 @@ main-menu (1.19) UNRELEASED; urgency=low
* Avoid suppressing menu items that have never been seen before just
because they have a lower menu item number than the last successful item
(closes: #288053).
* Restore previous default priority when selecting a menu item immediately
after backing up to the main menu.
* Restore previous default priority when selecting a menu item (other than
neverdefault items) immediately after backing up to the main menu.
-- Colin Watson <cjwatson@debian.org> Sat, 16 Dec 2006 09:42:13 +0000

2
main-menu.c

@ -609,7 +609,7 @@ int main (int argc __attribute__ ((unused)), char **argv) {
while ((p=show_main_menu(packages, allocator))) {
di_slist_node *node;
if (last_item_backup) {
if (p->installer_menu_item < NEVERDEFAULT && last_item_backup) {
restore_default_priority();
last_item_backup = 0;
}

Loading…
Cancel
Save