[Aptitude-svn-commit] r3382 - in branches/aptitude-0.3/aptitude: . src
Daniel Burrows
dburrows@costa.debian.org
Tue, 07 Jun 2005 19:03:03 +0000
Author: dburrows
Date: Tue Jun 7 19:03:00 2005
New Revision: 3382
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/view_changelog.cc
Log:
Update the changelog viewer for styles.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Jun 7 19:03:00 2005
@@ -1,5 +1,9 @@
2005-06-07 Daniel Burrows <dburrows@debian.org>
+ * src/view_changelog.cc:
+
+ Update the changelog viewer for the new display code.
+
* src/ui.cc:
Fix compilation by deleting a stray parenthesis.
Modified: branches/aptitude-0.3/aptitude/src/view_changelog.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/view_changelog.cc (original)
+++ branches/aptitude-0.3/aptitude/src/view_changelog.cc Tue Jun 7 19:03:00 2005
@@ -1,6 +1,21 @@
// view_changelog.cc
//
-// Copyright 2004 Daniel Burrows
+// Copyright (C) 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 the Free Software Foundation; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; see the file COPYING. If not, write to
+// the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+// Boston, MA 02111-1307, USA.
#include <vscreen/config/colors.h>
#include <vscreen/vs_pager.h>
@@ -44,7 +59,7 @@
if(!in_debian)
{
show_message(_("You can only view changelogs of official Debian packages."),
- NULL, get_color("Error"));
+ NULL, get_style("Error"));
return;
}