From 515cfdc499a9036103ba06d94acf967637089aae Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 16 Jul 2010 11:13:56 +0000 Subject: (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) --- Rpmdrake/gui.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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})), -- cgit v1.2.1