aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-19 10:03:39 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-19 10:03:39 +0000
commit4ae2e35bfbbbca202f481e465d62324bea0e6766 (patch)
treec4d7b3af2dd2b0ff65347cfdf8a7f018d276c6db /Rpmdrake/gui.pm
parent8ba9a22793edc8e744c4d81d2d8776b9065190ef (diff)
downloadrpmdrake-4ae2e35bfbbbca202f481e465d62324bea0e6766.tar
rpmdrake-4ae2e35bfbbbca202f481e465d62324bea0e6766.tar.gz
rpmdrake-4ae2e35bfbbbca202f481e465d62324bea0e6766.tar.bz2
rpmdrake-4ae2e35bfbbbca202f481e465d62324bea0e6766.tar.xz
rpmdrake-4ae2e35bfbbbca202f481e465d62324bea0e6766.zip
(format_name_n_summary) factorize package name and summary formatting there
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index d71d5068..32ec8c1f 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -237,8 +237,7 @@ sub add_node {
if (is_a_package($leaf)) {
my ($name, $version, $arch) = split_fullname($leaf);
$iter = $w->{detail_list_model}->append_set([ $pkg_columns{text} => $leaf,
- $pkg_columns{short_name} => '<b>' . $name . '</b>' .
- "\n" . get_summary($leaf),
+ $pkg_columns{short_name} => format_name_n_summary($name, get_summary($leaf)),
$pkg_columns{version} => $version,
$pkg_columns{arch} => $arch,
]);