[Aptitude-devel] r3088 - in branches/aptitude-0.3/aptitude: . src/vscreen
Daniel Burrows
dburrows@costa.debian.org
Tue, 26 Apr 2005 01:03:03 +0000
Author: dburrows
Date: Tue Apr 26 01:03:00 2005
New Revision: 3088
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/vscreen/vs_text_layout.cc
Log:
Queue a full layout recalculation when a text-layout's contents
are changed.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Apr 26 01:03:00 2005
@@ -1,5 +1,10 @@
2005-04-25 Daniel Burrows <dburrows@debian.org>
+ * src/vscreen/vs_text_layout.cc:
+
+ When the text layout's fragment changes, queue a full layout run
+ (not just an update).
+
* src/solution_dialog:
Make the dialog "dialog colored" in the usual hacky way.
Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_text_layout.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_text_layout.cc (original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_text_layout.cc Tue Apr 26 01:03:00 2005
@@ -82,7 +82,9 @@
stale=true;
- vscreen_update();
+ // Don't just do an update, because our ideal width might change,
+ // which means other stuff also has to change around.
+ vscreen_queuelayout();
}
void vs_text_layout::set_start(unsigned int new_start)