diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-10-23 11:51:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-10-23 11:51:00 +0000 |
commit | 2b5fabf353fdd35958f94c97639f72bf147cc4e9 (patch) | |
tree | 7a26c26f8b54a48984df548f59fa61712e92bc73 | |
parent | 7f2fdb9097891665f1119e4ccc18637851c799c0 (diff) | |
download | rpmdrake-2b5fabf353fdd35958f94c97639f72bf147cc4e9.tar rpmdrake-2b5fabf353fdd35958f94c97639f72bf147cc4e9.tar.gz rpmdrake-2b5fabf353fdd35958f94c97639f72bf147cc4e9.tar.bz2 rpmdrake-2b5fabf353fdd35958f94c97639f72bf147cc4e9.tar.xz rpmdrake-2b5fabf353fdd35958f94c97639f72bf147cc4e9.zip |
(format_pkg_simplifiedinfo) display release as part of version field in details like before
-rw-r--r-- | Rpmdrake/gui.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 66dfaa49..36d0b97a 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -80,7 +80,7 @@ sub get_summary { sub format_pkg_simplifiedinfo { my ($pkgs, $key, $urpm, $descriptions) = @_; - my ($name, $version) = split_fullname($key); + my ($name, $version, $release) = split_fullname($key); my $raw_medium = pkg2medium($pkgs->{$key}{pkg}, $urpm); my $medium = $raw_medium ? $raw_medium->{name} : undef; my $update_descr = $descriptions->{$medium}{$name}; @@ -113,7 +113,7 @@ sub format_pkg_simplifiedinfo { push @$s, [ gtkadd(gtkshow(my $exp0 = Gtk2::Expander->new(format_field(N("Details:")))), gtknew('TextView', text => ugtk2::markup_to_TextView_format( $spacing . join("\n$spacing", - format_field(N("Version: ")) . $version, + format_field(N("Version: ")) . $version . $release, ($pkgs->{$key}{pkg}->flag_installed ? format_field(N("Currently installed version: ")) . eval { find_installed_version($pkgs->{$key}{pkg}) } |