aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-18 08:40:54 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-18 08:40:54 +0000
commitf8f94273b0421bfd7188048536288d9aa1d4c8fc (patch)
treeff237cafe98eea5c86b13a91f8dfb2c42953615e
parent28f028225da9062cd7a48eaa9837271b95779001 (diff)
downloadrpmdrake-f8f94273b0421bfd7188048536288d9aa1d4c8fc.tar
rpmdrake-f8f94273b0421bfd7188048536288d9aa1d4c8fc.tar.gz
rpmdrake-f8f94273b0421bfd7188048536288d9aa1d4c8fc.tar.bz2
rpmdrake-f8f94273b0421bfd7188048536288d9aa1d4c8fc.tar.xz
rpmdrake-f8f94273b0421bfd7188048536288d9aa1d4c8fc.zip
workaround a gtk+ bug where GtkTextView wronly limit embedded widgetis width to
bigger line's width (#25533)
-rwxr-xr-xrpmdrake4
1 files changed, 3 insertions, 1 deletions
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})),