aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-08 14:59:33 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-08 14:59:33 +0000
commit48acd464afd5ddb0439effdbf478fbccba124f11 (patch)
treec9f0dd81b6c07fd8d588012509a16d493786983c /Rpmdrake/gui.pm
parent0e14a09f20541fbd7f31ec258a1028778ba5dd8b (diff)
downloadrpmdrake-48acd464afd5ddb0439effdbf478fbccba124f11.tar
rpmdrake-48acd464afd5ddb0439effdbf478fbccba124f11.tar.gz
rpmdrake-48acd464afd5ddb0439effdbf478fbccba124f11.tar.bz2
rpmdrake-48acd464afd5ddb0439effdbf478fbccba124f11.tar.xz
rpmdrake-48acd464afd5ddb0439effdbf478fbccba124f11.zip
(format_update_field) factorize formating of update fields (type & description)
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index fb5193e6..312aa555 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -117,8 +117,8 @@ sub format_pkg_simplifiedinfo {
# workaround gtk+ bug where GtkTextView wronly limit embedded widget size to bigger line's width (#25533):
"\x{200b} \x{feff}" . ' ' x 120,
if_($is_update, # is it an update?
- format_field(N("Importance: ")) . eval { escape_text_for_TextView_markup_format($update_descr->{importance}) },
- format_field(N("Reason for update: ")) . eval { escape_text_for_TextView_markup_format(rpm_description($update_descr->{pre})) },
+ format_field(N("Importance: ")) . format_update_field($update_descr->{importance}),
+ format_field(N("Reason for update: ")) . format_update_field(rpm_description($update_descr->{pre})),
),
'')); # extra empty line
if ($is_update) {