Browse Source

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

r46103
tags/1.19
Colin Watson 14 years ago
parent
commit
7b87dce1fd
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      debian/changelog
  2. +1
    -1
      main-menu.c

+ 2
- 2
debian/changelog View File

@@ -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



+ 1
- 1
main-menu.c View File

@@ -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