diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-11-30 13:09:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-11-30 13:09:47 +0000 |
commit | b2ab507ac93ba93fc4fda9cb53acb90a44c3601a (patch) | |
tree | 01b9ced3323851c464ace76205df0fd4d0042fc0 | |
parent | d0388ffc43da9aebdd38079eda6a45d5c31643e2 (diff) | |
download | rpmdrake-b2ab507ac93ba93fc4fda9cb53acb90a44c3601a.tar rpmdrake-b2ab507ac93ba93fc4fda9cb53acb90a44c3601a.tar.gz rpmdrake-b2ab507ac93ba93fc4fda9cb53acb90a44c3601a.tar.bz2 rpmdrake-b2ab507ac93ba93fc4fda9cb53acb90a44c3601a.tar.xz rpmdrake-b2ab507ac93ba93fc4fda9cb53acb90a44c3601a.zip |
(run_treeview_dialog) fix MandrivaUpdate starting now that we show the main
window before reading urpm db
-rwxr-xr-x | rpmdrake | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1123,11 +1123,6 @@ or you already installed all of them.")); rebuild_tree => sub {}, }; - if (@initial_selection) { - $options->{initial_selection} = \@initial_selection; - $pkgs->{$_}{selected} = 0 foreach @initial_selection; - } - $tree_model = Gtk2::TreeStore->new("Glib::String", "Glib::String", "Gtk2::Gdk::Pixbuf"); $tree_model->set_sort_column_id(0, 'ascending'); $tree = Gtk2::TreeView->new_with_model($tree_model); @@ -1479,6 +1474,10 @@ Do you really want to install all the selected packages?"), yesno => 1) $w->{rwindow}->show_all; $pkgs_provider->({}, $default_list_mode); # default mode + if (@initial_selection) { + $options->{initial_selection} = \@initial_selection; + $pkgs->{$_}{selected} = 0 foreach @initial_selection; + } $options->{widgets} = { w => $w, |