summaryrefslogtreecommitdiff
path: root/src/pkg_ver_item.cc
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2007-11-15 07:24:46 -0800
committerDaniel Burrows <dburrows@debian.org>2007-11-15 07:24:46 -0800
commit34c3078707cdf73826cd4ad6f5530a1dc99c4d4e (patch)
tree2bd365773c61e48323fadd35a506baa239dc49eb /src/pkg_ver_item.cc
parent42c43a7aad495c021372415111510c09c46e6e7d (diff)
downloadaptitude-34c3078707cdf73826cd4ad6f5530a1dc99c4d4e.tar.gz
Pass over the source with sed to put global_bindings in config::.
Diffstat (limited to 'src/pkg_ver_item.cc')
-rw-r--r--src/pkg_ver_item.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pkg_ver_item.cc b/src/pkg_ver_item.cc
index 402ebfe8..6d3dd453 100644
--- a/src/pkg_ver_item.cc
+++ b/src/pkg_ver_item.cc
@@ -502,26 +502,26 @@ style pkg_ver_item::ver_style(pkgCache::VerIterator version,
(state.Install() &&
!state.InstBroken() &&
state.InstVerIter(*apt_cache_file)!=version)))
- return get_style(MAYBE_HIGHLIGHTED("PkgToRemove"));
+ return cw::get_style(MAYBE_HIGHLIGHTED("PkgToRemove"));
else if(((state.NewInstall() || state.Install()) &&
!state.InstBroken() &&
state.InstVerIter(*apt_cache_file)==version) ||
(version==version.ParentPkg().CurrentVer() &&
state.iFlags&pkgDepCache::ReInstall))
- return get_style(MAYBE_HIGHLIGHTED("PkgToInstall"));
+ return cw::get_style(MAYBE_HIGHLIGHTED("PkgToInstall"));
else if(state.InstBroken() && state.InstVerIter(*apt_cache_file)==version)
- return get_style(MAYBE_HIGHLIGHTED("PkgBroken"));
+ return cw::get_style(MAYBE_HIGHLIGHTED("PkgBroken"));
else if(pkg.CurrentVer()!=version)
- return get_style(MAYBE_HIGHLIGHTED("PkgNotInstalled"));
+ return cw::get_style(MAYBE_HIGHLIGHTED("PkgNotInstalled"));
else if(state.NowBroken())
- return get_style(MAYBE_HIGHLIGHTED("PkgBroken"));
+ return cw::get_style(MAYBE_HIGHLIGHTED("PkgBroken"));
else
- return get_style(MAYBE_HIGHLIGHTED("PkgIsInstalled"));
+ return cw::get_style(MAYBE_HIGHLIGHTED("PkgIsInstalled"));
}
void pkg_ver_item::paint(widgets::tree *win, int y, bool hierarchical,