diff options
Diffstat (limited to 'MandrivaUpdate')
-rwxr-xr-x | MandrivaUpdate | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index b3dc7120..85196d24 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -213,6 +213,10 @@ sub run_treeview_dialog { $w->{rwindow}->show_all; $w->{rwindow}->set_sensitive(0); + # ensure treeview get realized so that ->get_selection returns something + $list->realize; + gtkflush(); + $filter->[0] = 'all'; # default filter: availlable updates $Rpmdrake::pkg::probe_only_for_updates = 1; # faster startup pkgs_provider({}, 'all_updates', pure_updates => 1); # default mode |