diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-19 10:03:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-19 10:03:39 +0000 |
commit | 4ae2e35bfbbbca202f481e465d62324bea0e6766 (patch) | |
tree | c4d7b3af2dd2b0ff65347cfdf8a7f018d276c6db /Rpmdrake/gui.pm | |
parent | 8ba9a22793edc8e744c4d81d2d8776b9065190ef (diff) | |
download | rpmdrake-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.pm | 3 |
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, ]); |