From 7f2fdb9097891665f1119e4ccc18637851c799c0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 23 Oct 2007 11:48:42 +0000 Subject: (add_node,refresh_packages_list,run_treeview_dialog) split "release" column from "version" column --- Rpmdrake/gui.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Rpmdrake') 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}); -- cgit v1.2.1