aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-20 10:23:49 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-20 10:23:49 +0000
commit0c379cdf78b6a034827a94a41f9792a50135e02f (patch)
treeb767e6748bbf7ef848f2a55fdce7b5821a9cb18b
parent90f2c1525e18a3cdd522614bef6153f88e44988c (diff)
downloadrpmdrake-0c379cdf78b6a034827a94a41f9792a50135e02f.tar
rpmdrake-0c379cdf78b6a034827a94a41f9792a50135e02f.tar.gz
rpmdrake-0c379cdf78b6a034827a94a41f9792a50135e02f.tar.bz2
rpmdrake-0c379cdf78b6a034827a94a41f9792a50135e02f.tar.xz
rpmdrake-0c379cdf78b6a034827a94a41f9792a50135e02f.zip
(get_status) there's no sense in displaying different data according
to the current view mode
-rwxr-xr-xrpmdrake4
1 files changed, 1 insertions, 3 deletions
diff --git a/rpmdrake b/rpmdrake
index 3d1e7281..3c81f23e 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -161,9 +161,7 @@ sub run_treeview_dialog {
@$unsel < @$sel;
},
get_status => sub {
- member($default_list_mode, qw(all non_installed))
- ? N("Selected: %s / Free disk space: %s", formatXiB($size_selected), formatXiB($size_free*1024))
- : N("Selected size: %d MB", $size_selected/(1024*1024));
+ N("Selected: %s / Free disk space: %s", formatXiB($size_selected), formatXiB($size_free*1024));
},
rebuild_tree => sub {},
};