aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-29 16:39:07 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-29 16:39:07 +0000
commitf7783c0c2a0eadea024f16e06a606142f9a2e8f4 (patch)
tree8de47fa7fcc25e67461e05156d70eaf90d5ecb45
parentf1bdd67407e2bd73890a205b0a6ef8d235a5ab1f (diff)
downloadrpmdrake-f7783c0c2a0eadea024f16e06a606142f9a2e8f4.tar
rpmdrake-f7783c0c2a0eadea024f16e06a606142f9a2e8f4.tar.gz
rpmdrake-f7783c0c2a0eadea024f16e06a606142f9a2e8f4.tar.bz2
rpmdrake-f7783c0c2a0eadea024f16e06a606142f9a2e8f4.tar.xz
rpmdrake-f7783c0c2a0eadea024f16e06a606142f9a2e8f4.zip
(run_treeview_dialog) show the main window way earlier for faster startup experience
-rwxr-xr-xrpmdrake5
1 files changed, 3 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index ac7ba261..7d4997dd 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -807,8 +807,6 @@ sub run_treeview_dialog {
$switch_pkg_list_mode->($mode);
};
- $pkgs_provider->({}, $default_list_mode); # default mode
-
my ($options, $size_selected, $compssUsers, $tree, $tree_model, $detail_list, $detail_list_model, %elems);
my (undef, $size_free) = MDK::Common::System::df('/usr');
@@ -1478,6 +1476,9 @@ Do you really want to install all the selected packages?"), yesno => 1)
$find_entry->set_text($options{search}[0]) if $options{search};
$w->{rwindow}->show_all;
+
+ $pkgs_provider->({}, $default_list_mode); # default mode
+
$options->{widgets} = {
w => $w,
tree => $tree,