aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/gui.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-10-23 11:48:42 +0000
committerThierry Vignaud <tv@mandriva.org>2007-10-23 11:48:42 +0000
commit7f2fdb9097891665f1119e4ccc18637851c799c0 (patch)
tree101fd6cc63f92eed74f27fbf7aa71092a493d141 /Rpmdrake/gui.pm
parent1804d33bd97411b40f708faac382fca4f5ef4c90 (diff)
downloadrpmdrake-7f2fdb9097891665f1119e4ccc18637851c799c0.tar
rpmdrake-7f2fdb9097891665f1119e4ccc18637851c799c0.tar.gz
rpmdrake-7f2fdb9097891665f1119e4ccc18637851c799c0.tar.bz2
rpmdrake-7f2fdb9097891665f1119e4ccc18637851c799c0.tar.xz
rpmdrake-7f2fdb9097891665f1119e4ccc18637851c799c0.zip
(add_node,refresh_packages_list,run_treeview_dialog) split "release"
column from "version" column
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r--Rpmdrake/gui.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index d4a0bfe6..66dfaa49 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -59,7 +59,8 @@ our %pkg_columns = (
selected => 3,
short_name => 4,
version => 5,
- arch => 6,
+ release => 6,
+ arch => 7,
);
@@ -235,10 +236,11 @@ sub add_node {
if ($leaf) {
my $iter;
if (is_a_package($leaf)) {
- my ($name, $version, $arch) = split_fullname($leaf);
+ my ($name, $version, $release, $arch) = split_fullname($leaf);
$iter = $w->{detail_list_model}->append_set([ $pkg_columns{text} => $leaf,
$pkg_columns{short_name} => format_name_n_summary($name, get_summary($leaf)),
$pkg_columns{version} => $version,
+ $pkg_columns{release} => $release,
$pkg_columns{arch} => $arch,
]);
set_node_state($iter, $state, $w->{detail_list_model});