aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-27 15:28:52 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-27 15:28:52 +0000
commit976cc30501e6b1b7d1e88e9b5b65420eb97f6458 (patch)
tree40916a9c7ec886b55a590793bec4ec049aa888b1
parent535ebef0acd98c55a1a5824bb5710b0bb538053f (diff)
downloadrpmdrake-976cc30501e6b1b7d1e88e9b5b65420eb97f6458.tar
rpmdrake-976cc30501e6b1b7d1e88e9b5b65420eb97f6458.tar.gz
rpmdrake-976cc30501e6b1b7d1e88e9b5b65420eb97f6458.tar.bz2
rpmdrake-976cc30501e6b1b7d1e88e9b5b65420eb97f6458.tar.xz
rpmdrake-976cc30501e6b1b7d1e88e9b5b65420eb97f6458.zip
kill useless return values
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index df613e8d..14c6a54b 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -364,7 +364,7 @@ sub run_treeview_dialog {
[ N("/_File") . N("/Reload the _packages list"), undef, sub {
slow_func($::main_window->window, sub {
$force_rebuild = 1;
- $rmodes{pkgs_provider({ skip_updating_mu => 1 }, $options->{tree_mode})};
+ pkgs_provider({ skip_updating_mu => 1 }, $options->{tree_mode});
});
reset_search();
$size_selected = 0;
@@ -379,7 +379,7 @@ sub run_treeview_dialog {
}, undef, '<CheckItem>' ],
[ N("/_Options") . N("/_Media Manager"), undef, sub {
require Rpmdrake::edit_urpm_sources;
- Rpmdrake::edit_urpm_sources::run() && $rmodes{pkgs_provider({ skip_updating_mu => 1 }, $options->{tree_mode})};
+ Rpmdrake::edit_urpm_sources::run() && kgs_provider({ skip_updating_mu => 1 }, $options->{tree_mode});
}, undef, '<Item>' ],
[ N("/_Options") . N("/_Show automatically selected packages"), undef, sub {
$dont_show_selections = !$checkbox_show_autoselect->get_active;