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

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


Author: dburrows
Date: Tue Jun  7 15:27:21 2005
New Revision: 3365

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/download_screen.cc
Log:
Use get_style to retrieve MediaChange, not get_color.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Jun  7 15:27:21 2005
@@ -1,5 +1,9 @@
 2005-06-07  Daniel Burrows  <dburrows@debian.org>
 
+	* src/download_screen.cc:
+
+	Use get_style instead of get_color.
+
 	* src/download_screen.h:
 
 	Extend the signature of download_tree::paint, so that it

Modified: branches/aptitude-0.3/aptitude/src/download_screen.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/download_screen.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/download_screen.cc	Tue Jun  7 15:27:21 2005
@@ -1,6 +1,6 @@
 // download_screen.cc
 //
-//  Copyright 1999 Daniel Burrows
+//  Copyright 1999-2001, 2004-2005 Daniel Burrows
 //
 //  This program is free software; you can redistribute it and/or modify
 //  it under the terms of the GNU General Public License as published by
@@ -58,7 +58,7 @@
 	   Media.c_str(), Drive.c_str());
 
   popup_widget(vs_dialog_ok(buf, arg(sigc::ptr_fun(vscreen_exitmain)),
-			    get_color("MediaChange")));
+			    get_style("MediaChange")));
 
   CRITICAL_EXIT