diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-18 21:43:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-18 21:43:57 +0000 |
commit | cf39d7911260c4b700d7de071560b9015c2c2cf3 (patch) | |
tree | dd8ec9890932a9522ea7211bff06801c03ee2ed6 | |
parent | fae97228965aa4326c349fcb2be1f21e15e55cff (diff) | |
download | rpmdrake-cf39d7911260c4b700d7de071560b9015c2c2cf3.tar rpmdrake-cf39d7911260c4b700d7de071560b9015c2c2cf3.tar.gz rpmdrake-cf39d7911260c4b700d7de071560b9015c2c2cf3.tar.bz2 rpmdrake-cf39d7911260c4b700d7de071560b9015c2c2cf3.tar.xz rpmdrake-cf39d7911260c4b700d7de071560b9015c2c2cf3.zip |
(run_treeview_dialog) preselect the right view mode in the menu
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -577,6 +577,8 @@ sub run_treeview_dialog { # to retrieve a path, one must prevent "accelerators completion": my $get_path = sub { return join('', map { my $i = $_; $i =~ s/_//g; $i } @_) }; + $factory->get_item('<main>' . $get_path->(N("/_View") . '/' . $modes{$mode->[0]}))->set_active(1); + %check_boxes = map { $_ => $factory->get_widget("<main>" . $get_path->($auto_string)); } ($auto_string); |