aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-02-20 14:07:54 +0000
committerThierry Vignaud <tv@mandriva.org>2007-02-20 14:07:54 +0000
commit95523e07c405e739a0c196b5998ad8b0010805f5 (patch)
treee003ab51780b6ee272be9a5b11f268a282833e49 /Rpmdrake
parentcc8793c78515e75a15649df621f7d5fe9fa2686e (diff)
downloadrpmdrake-95523e07c405e739a0c196b5998ad8b0010805f5.tar
rpmdrake-95523e07c405e739a0c196b5998ad8b0010805f5.tar.gz
rpmdrake-95523e07c405e739a0c196b5998ad8b0010805f5.tar.bz2
rpmdrake-95523e07c405e739a0c196b5998ad8b0010805f5.tar.xz
rpmdrake-95523e07c405e739a0c196b5998ad8b0010805f5.zip
(do_action) o_option argument is now optional
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 221d56f7..71dd5f0d 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -607,7 +607,7 @@ sub toggle_nodes {
}
sub do_action {
- my ($options, $callback_action, $info) = @_;
+ my ($options, $callback_action, $o_info) = @_;
require urpm::sys;
if (!urpm::sys::check_fs_writable()) {
$urpm->{fatal}(1, N("Error: %s appears to be mounted read-only.", $urpm::sys::mountpoint));
@@ -635,7 +635,7 @@ Do you really want to install all the selected packages?"), yesno => 1)
$size_selected = 0;
(undef, $size_free) = MDK::Common::System::df('/usr');
$options->{rebuild_tree}->();
- gtktext_insert($info, '');
+ gtktext_insert($o_info, '') if $o_info;
}
}