summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2005-12-01 18:21:02 +0000
committerDaniel Burrows <dburrows@debian.org>2005-12-01 18:21:02 +0000
commit632ed66c346f4b44ed90caea2981ae6bf9fce41c (patch)
treeaf2f11871ac11d4556cd1ff55cbf84ecdfb532cb /src
parentf5157d18d175b0dc68e51a66e6c01f46a9973dac (diff)
downloadaptitude-632ed66c346f4b44ed90caea2981ae6bf9fce41c.tar.gz
[aptitude @ Always use a dialog to display the list of fixed packages, to avoid unwieldly "minibuffer" displays. (Closes: #341292)]
Diffstat (limited to 'src')
-rw-r--r--src/ui.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ui.cc b/src/ui.cc
index edf099d2..cc14653b 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -1214,10 +1214,13 @@ static void auto_fix_broken()
aptitude_solution sol = resman->get_solution(resman->get_selected_solution(), 0);
(*apt_cache_file)->apply_solution(sol, undo);
- show_message(fragf("%s%n%n%F",
- _("Some packages were broken and have been fixed:"),
- solution_fragment(sol)),
- NULL);
+
+ vs_widget_ref d = vs_dialog_ok(fragf("%s%n%n%F",
+ _("Some packages were broken and have been fixed:"),
+ solution_fragment(sol)),
+ NULL);
+
+ popup_widget(d, true);
}
catch(NoMoreSolutions)
{