From f8f94273b0421bfd7188048536288d9aa1d4c8fc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 18 Sep 2006 08:40:54 +0000 Subject: workaround a gtk+ bug where GtkTextView wronly limit embedded widgetis width to bigger line's width (#25533) --- rpmdrake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpmdrake b/rpmdrake index a922dd4d..025d6222 100755 --- a/rpmdrake +++ b/rpmdrake @@ -625,7 +625,9 @@ sub format_pkg_simplifiedinfo { my ($pkgs, $key, $urpm, $descriptions) = @_; my ($name, $version) = split_fullname($key); my $update_descr = $descriptions->{$name}{pre}; - my $s = ugtk2::markup_to_TextView_format(join("\n", format_header($name . ' - ' . $pkgs->{$key}{summary}), + my $s = ugtk2::markup_to_TextView_format(join("\n", format_header($name . ' - ' . $pkgs->{$key}{summary}) . + # workaround gtk+ bug where GtkTextView wronly limit embedded widget size to bigger line's width (#25533): + "\x{200b} \x{feff}" . (' ' x 120), if_($update_descr, # is it an update? format_field(N("Importance: ")) . escape_text_for_TextView_markup_format($descriptions->{$name}{importance}), format_field(N("Reason for update: ")) . escape_text_for_TextView_markup_format(rpm_description($descriptions->{$name}{pre})), -- cgit v1.2.1