diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-07-16 11:13:56 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-07-16 11:13:56 +0000 |
commit | 515cfdc499a9036103ba06d94acf967637089aae (patch) | |
tree | 21dfb2ac76a47e817dde4766bd29fa6c0d67ced2 | |
parent | d6f2faebe3bfd38df8535b71485b246e3728b0bd (diff) | |
download | rpmdrake-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)
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- fix crashing when looking at update details (#60153) + (bug introduced in rpmdrake 5.25) + Version 5.26.2 - 5 June 2010, Thierry Vignaud - rpmdrake: 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})), |