[Aptitude-svn-commit] r3305 - in branches/aptitude-0.3/aptitude: . src/vscreen

Daniel Burrows dburrows@costa.debian.org
Sat, 04 Jun 2005 17:28:54 +0000


Author: dburrows
Date: Sat Jun  4 17:28:52 2005
New Revision: 3305

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/vs_editline.cc
Log:
Update the edit-line widget.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sat Jun  4 17:28:52 2005
@@ -1,5 +1,9 @@
 2005-06-04  Daniel Burrows  <dburrows@debian.org>
 
+	* src/vscreen/vs_editline.cc:
+
+	Update the edit-line widget to the new display protocol.
+
 	* src/vscreen/vs_frame.cc, src/vscreen/vs_frame.h:
 
 	Update the frame widget to the new display protocol.

Modified: branches/aptitude-0.3/aptitude/src/vscreen/vs_editline.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/vs_editline.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/vs_editline.cc	Sat Jun  4 17:28:52 2005
@@ -19,7 +19,7 @@
    startloc(0), desired_size(-1), history(_history),
    history_loc(0), using_history(false)
 {
-  set_bg(get_color("EditLine"));
+  set_bg_style(get_style("EditLine"));
 
   // This ensures that the cursor is set to the right location when the
   // widget is displayed or resized:
@@ -32,7 +32,7 @@
    startloc(0), desired_size(maxlength), history(_history), history_loc(0),
    using_history(false)
 {
-  set_bg(get_color("EditLine"));
+  set_bg_style(get_style("EditLine"));
   do_layout.connect(sigc::mem_fun(*this, &vs_editline::normalize_cursor));
 }