diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 08:38:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-18 08:38:33 +0000 |
commit | 6a15771ef59acb6d60f4b950db427cc2445ed22b (patch) | |
tree | ca4374c222d07dd8cfa07bbeadb5e02453ff7e3b | |
parent | e48586621503fdf26c99257d5647fe6a6ec74c0a (diff) | |
download | rpmdrake-6a15771ef59acb6d60f4b950db427cc2445ed22b.tar rpmdrake-6a15771ef59acb6d60f4b950db427cc2445ed22b.tar.gz rpmdrake-6a15771ef59acb6d60f4b950db427cc2445ed22b.tar.bz2 rpmdrake-6a15771ef59acb6d60f4b950db427cc2445ed22b.tar.xz rpmdrake-6a15771ef59acb6d60f4b950db427cc2445ed22b.zip |
(format_pkg_simplifiedinfo) make empty file list looks like empty changelog
-rwxr-xr-x | rpmdrake | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -627,12 +627,11 @@ sub format_pkg_simplifiedinfo { )); push @$s, [ "\n\n" ]; push @$s, [ gtkadd(gtkshow(my $exp = Gtk2::Expander->new(format_field(N("Files:")))), - exists $pkgs->{$key}{files} - ? gtktext_insert(Gtk2::TextView->new, + gtktext_insert(Gtk2::TextView->new, + exists $pkgs->{$key}{files} ? ugtk2::markup_to_TextView_format('<tt>' . join("\n", map { "\x{200e}$_" } @{$pkgs->{$key}{files}}) . '</tt>') #- to highlight information - ) : N("(Not available)"), - ) ]; + )) ]; $exp->set_use_markup(1); push @$s, [ "\n\n" ]; push @$s, [ gtkadd(gtkshow(my $exp2 = Gtk2::Expander->new(format_field(N("Changelog:")))), |