diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-03-03 16:21:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-03-03 16:21:51 +0000 |
commit | 65b2ffdce737daa263aefcb38a7dd6e65a5b78e3 (patch) | |
tree | ed5ae8f91a17e6cc629cf0e663bb03e07431d205 | |
parent | 33a4a668f3761687d6e7cc1240d62987bdee25a6 (diff) | |
download | rpmdrake-65b2ffdce737daa263aefcb38a7dd6e65a5b78e3.tar rpmdrake-65b2ffdce737daa263aefcb38a7dd6e65a5b78e3.tar.gz rpmdrake-65b2ffdce737daa263aefcb38a7dd6e65a5b78e3.tar.bz2 rpmdrake-65b2ffdce737daa263aefcb38a7dd6e65a5b78e3.tar.xz rpmdrake-65b2ffdce737daa263aefcb38a7dd6e65a5b78e3.zip |
(format_pkg_simplifiedinfo) further simplify
-rw-r--r-- | Rpmdrake/gui.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 11c9252f..5afbdab5 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -250,10 +250,8 @@ sub format_pkg_simplifiedinfo { push @$s, [ "\n" ]; my $installed_version = eval { find_installed_version($upkg) }; - my $details_txt = get_details($key, $pkg, $upkg, $installed_version, $raw_medium); - push @$s, [ gtkadd(gtkshow(my $exp0 = Gtk2::Expander->new(format_field(N("Details:")))), - gtknew('TextView', text => $details_txt)) ]; + gtknew('TextView', text => get_details($key, $pkg, $upkg, $installed_version, $raw_medium))) ]; $exp0->set_use_markup(1); push @$s, [ "\n\n" ]; push @$s, [ build_expander($pkg, N("Files:"), 'files', sub { @@ -271,7 +269,6 @@ sub format_pkg_simplifiedinfo { push @$s, get_new_deps($urpm, $upkg); } $s; - } sub format_pkg_info { |