diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-12-06 13:24:09 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-12-06 13:24:09 +0000 |
commit | 459017d2107682fc61ea694dbef448b3f691bcb4 (patch) | |
tree | 251760f9df7c8bdd0cc3f728268be11bb41b6fb8 | |
parent | ec56e2a258495b714e58b514c7330b699646f81e (diff) | |
download | rpmdrake-459017d2107682fc61ea694dbef448b3f691bcb4.tar rpmdrake-459017d2107682fc61ea694dbef448b3f691bcb4.tar.gz rpmdrake-459017d2107682fc61ea694dbef448b3f691bcb4.tar.bz2 rpmdrake-459017d2107682fc61ea694dbef448b3f691bcb4.tar.xz rpmdrake-459017d2107682fc61ea694dbef448b3f691bcb4.zip |
(run_treeview_dialog) fix Gtk+ sorting by using RPM version sorting logic (#35209)
-rwxr-xr-x | rpmdrake | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -228,6 +228,7 @@ sub run_treeview_dialog { $columns{$_}{renderer}->set_property('xpad', '6') foreach qw(name version release arch); $columns{name}{widget}->set_resizable(1); $detail_list_model->set_sort_column_id($pkg_columns{text}, 'ascending'); + $detail_list_model->set_sort_func($pkg_columns{version}, \&sort_callback); $detail_list->set_rules_hint(1); compute_main_window_size($w); |