[Aptitude-svn-commit] r3376 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Tue, 07 Jun 2005 18:10:42 +0000
Author: dburrows
Date: Tue Jun 7 18:10:40 2005
New Revision: 3376
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/solution_dialog.cc
Log:
Update the solution dialog code.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Jun 7 18:10:40 2005
@@ -1,5 +1,9 @@
2005-06-07 Daniel Burrows <dburrows@debian.org>
+ * src/solution_dialog.cc:
+
+ Update the solution dialog for styles.
+
* src/defaults.cc:
Make bullets 'transparent' (the style now only changes the
Modified: branches/aptitude-0.3/aptitude/src/solution_dialog.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/solution_dialog.cc (original)
+++ branches/aptitude-0.3/aptitude/src/solution_dialog.cc Tue Jun 7 18:10:40 2005
@@ -159,10 +159,10 @@
sigc::bind(sigc::ptr_fun(do_apply),
rval));
- bprev->set_bg(get_color("DefaultWidgetBackground")|A_REVERSE);
- bnext->set_bg(get_color("DefaultWidgetBackground")|A_REVERSE);
- bapply->set_bg(get_color("DefaultWidgetBackground")|A_REVERSE);
- bclose->set_bg(get_color("DefaultWidgetBackground")|A_REVERSE);
+ bprev->set_bg_style(style_attrs_flip(A_REVERSE));
+ bnext->set_bg_style(style_attrs_flip(A_REVERSE));
+ bapply->set_bg_style(style_attrs_flip(A_REVERSE));
+ bclose->set_bg_style(style_attrs_flip(A_REVERSE));
bt->add_widget_opts(bprev,
0, 0, 1, 1,