diff options
-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 { |