diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-26 17:24:28 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-26 17:24:28 +0000 |
commit | 9f5c8d5ea3ba187dcbe2525182703f1e2c3468d5 (patch) | |
tree | bc5cbfab232a1aad46d23de1abe958a550cce0c0 /MandrivaUpdate | |
parent | 94f03a7ed97da0ca1f3c764871a78a030bb9e517 (diff) | |
download | rpmdrake-9f5c8d5ea3ba187dcbe2525182703f1e2c3468d5.tar rpmdrake-9f5c8d5ea3ba187dcbe2525182703f1e2c3468d5.tar.gz rpmdrake-9f5c8d5ea3ba187dcbe2525182703f1e2c3468d5.tar.bz2 rpmdrake-9f5c8d5ea3ba187dcbe2525182703f1e2c3468d5.tar.xz rpmdrake-9f5c8d5ea3ba187dcbe2525182703f1e2c3468d5.zip |
fix sorting (we must use TreeModel indexes not widget indexes)
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-x | MandrivaUpdate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index 117469ba..3c72e1ae 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -192,7 +192,7 @@ sub run_treeview_dialog { my $col = $list->get_column($_-1); ($col->get_cell_renderers)[0]->set_property('xpad', '6'); $col->set_sizing('autosize'); - $col->set_sort_column_id($_-1); + $col->set_sort_column_id($_); } my $pretty_column = $list->get_column($pkg_columns{short_name}-1); |