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

Daniel Burrows dburrows@costa.debian.org
Tue, 07 Jun 2005 05:32:27 +0000


Author: dburrows
Date: Tue Jun  7 05:32:24 2005
New Revision: 3349

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/apt_config_widgets.cc
Log:
Remove an unnecessary explicit color setting (styles will handle it now).

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Jun  7 05:32:24 2005
@@ -1,5 +1,10 @@
 2005-06-06  Daniel Burrows  <dburrows@debian.org>
 
+	* src/apt_config_widgets.cc:
+
+	Don't bother setting the color of apt_bool_widget; this shouldn't
+	be necessary any more.
+
 	* src/desc_parse.cc:
 
 	Update the description parser for styles.

Modified: branches/aptitude-0.3/aptitude/src/apt_config_widgets.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/apt_config_widgets.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/apt_config_widgets.cc	Tue Jun  7 05:32:24 2005
@@ -12,9 +12,7 @@
 using namespace std;
 
 apt_bool_widget::apt_bool_widget(string _label, string _item, bool _default)
-  :vs_checkbutton(flowbox(text_fragment(_label,
-					// HACK: cascading will fix
-					get_color("DefaultWidgetBackground")|A_REVERSE)), aptcfg->FindB(_item, _default)),
+  :vs_checkbutton(flowbox(text_fragment(_label)), aptcfg->FindB(_item, _default)),
    item(_item), my_default(_default)
 {
 }