aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-26 17:19:39 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-26 17:19:39 +0000
commitbfb183d7f4d209b4a1e622ea88f6dc3b7686dfd4 (patch)
tree83f93c5d233295c5af92a3b2bf427c396648e6d7
parent4053af3793869a6834330558b47e89d98e9d08df (diff)
downloadrpmdrake-bfb183d7f4d209b4a1e622ea88f6dc3b7686dfd4.tar
rpmdrake-bfb183d7f4d209b4a1e622ea88f6dc3b7686dfd4.tar.gz
rpmdrake-bfb183d7f4d209b4a1e622ea88f6dc3b7686dfd4.tar.bz2
rpmdrake-bfb183d7f4d209b4a1e622ea88f6dc3b7686dfd4.tar.xz
rpmdrake-bfb183d7f4d209b4a1e622ea88f6dc3b7686dfd4.zip
enable to sort by selected state too
-rwxr-xr-xMandrivaUpdate1
1 files changed, 1 insertions, 0 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index 32849a69..117469ba 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -185,6 +185,7 @@ sub run_treeview_dialog {
my $bool_col = $list->get_column(0);
$bool_col->set_fixed_width(24);
$bool_col->set_sizing('fixed');
+ $bool_col->set_sort_column_id($pkg_columns{selected});
# -1 because actual widget count differs from TreeModel one due to the hidden column:
foreach (@pkg_columns{qw(short_name version arch)}) {