diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-03-19 12:19:19 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-03-19 12:19:19 +0000 |
commit | 8e62eadd526aa14e07f0450248de963951d735a9 (patch) | |
tree | c7d6cca7102cf12e062507375757710066318d7d | |
parent | e4ab240e5c5101cda750e8d79838b21623ead7b9 (diff) | |
download | rpmdrake-8e62eadd526aa14e07f0450248de963951d735a9.tar rpmdrake-8e62eadd526aa14e07f0450248de963951d735a9.tar.gz rpmdrake-8e62eadd526aa14e07f0450248de963951d735a9.tar.bz2 rpmdrake-8e62eadd526aa14e07f0450248de963951d735a9.tar.xz rpmdrake-8e62eadd526aa14e07f0450248de963951d735a9.zip |
kill useless parameter ($pkgs is a global variable...)
-rwxr-xr-x | MandrivaUpdate | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate index 35e1763f..69edf3f0 100755 --- a/MandrivaUpdate +++ b/MandrivaUpdate @@ -53,7 +53,7 @@ warn_about_user_mode(); open_db(); sub refresh_packages_list { - my ($pkgs, $list, $info, $button) = @_; + my ($list, $info, $button) = @_; # select packages to update: my @requested = sort keys %$pkgs; @@ -132,7 +132,7 @@ sub run_treeview_dialog { $update_button = Gtk2::Button->new(but_(N("Update"))), clicked => sub { do_action({ tree_mode => 'all_updates' }, $callback_action); - refresh_packages_list($pkgs, $list, $info, $update_button); + refresh_packages_list($list, $info, $update_button); pkgs_provider({}, $default_list_mode, pure_updates => 1); # default mode }, ), @@ -167,7 +167,7 @@ sub run_treeview_dialog { $Rpmdrake::pkg::probe_only_for_updates = 1; # faster startup pkgs_provider({}, $default_list_mode, pure_updates => 1); # default mode - refresh_packages_list($pkgs, $list, $info, $update_button); + refresh_packages_list($list, $info, $update_button); my $cell = ($list->get_column(0)->get_cell_renderers)[0]; $cell->signal_connect(toggled => sub { |