[Aptitude-svn-commit] r4136 - in branches/aptitude-0.3/aptitude: .
src
Daniel Burrows
dburrows at costa.debian.org
Tue Sep 20 19:12:16 UTC 2005
Author: dburrows
Date: Tue Sep 20 19:12:13 2005
New Revision: 4136
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/solution_screen.cc
Log:
Correct the which-tree-is-currently-active logic.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Sep 20 19:12:13 2005
@@ -2,6 +2,12 @@
* src/solution_screen.cc:
+ Remember that both trees have their visible flag set even though
+ only one is actually shown; the proper way to determine the
+ active child of a multiplexer is to call visible_widget().
+
+ * src/solution_screen.cc:
+
Use the changes to vs_tree and vs_multiplex to correctly manage
the auxillary status areas.
Modified: branches/aptitude-0.3/aptitude/src/solution_screen.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/solution_screen.cc (original)
+++ branches/aptitude-0.3/aptitude/src/solution_screen.cc Tue Sep 20 19:12:13 2005
@@ -858,12 +858,12 @@
*/
void update_highlights()
{
- if(solution_tree->get_visible())
+ if(solution_tree == visible_widget())
{
story_tree->unhighlight_current();
solution_tree->highlight_current();
}
- else if(story_tree->get_visible())
+ else if(story_tree == visible_widget())
{
solution_tree->unhighlight_current();
story_tree->highlight_current();
More information about the Aptitude-svn-commit
mailing list