aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-07-16 11:13:56 +0000
committerThierry Vignaud <tv@mandriva.org>2010-07-16 11:13:56 +0000
commit515cfdc499a9036103ba06d94acf967637089aae (patch)
tree21dfb2ac76a47e817dde4766bd29fa6c0d67ced2 /Rpmdrake
parentd6f2faebe3bfd38df8535b71485b246e3728b0bd (diff)
downloadrpmdrake-515cfdc499a9036103ba06d94acf967637089aae.tar
rpmdrake-515cfdc499a9036103ba06d94acf967637089aae.tar.gz
rpmdrake-515cfdc499a9036103ba06d94acf967637089aae.tar.bz2
rpmdrake-515cfdc499a9036103ba06d94acf967637089aae.tar.xz
rpmdrake-515cfdc499a9036103ba06d94acf967637089aae.zip
(get_main_text) fix crashing when looking at update details (#60153)
(regression introduced in r266625 when adding "explain what are official, backports ... packages" i in rpmdrake 5.25)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 94dd6607..c18a7503 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -195,7 +195,7 @@ sub get_main_text {
format_header(join(' - ', $name, $summary)) .
# workaround gtk+ bug where GtkTextView wronly limit embedded widget size to bigger line's width (#25533):
"\x{200b} \x{feff}" . ' ' x 120,
- if_($txt, format_field(N("Notice: ")) . $txt) .
+ if_($txt, format_field(N("Notice: ")) . $txt),
if_($is_update, # is it an update?
format_field(N("Importance: ")) . format_update_field($update_descr->{importance}),
format_field(N("Reason for update: ")) . format_update_field(rpm_description($update_descr->{pre})),