aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-17 21:28:48 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-17 21:28:48 +0000
commit3e727ce1e3a49fd0149625d77fabaf6326964be4 (patch)
tree72af6c8257324a8371e6fb4a21f9da4c7708d13b /Rpmdrake
parentacc76c2ac5fd1aeea737b0b0e03518a936796d33 (diff)
downloadrpmdrake-3e727ce1e3a49fd0149625d77fabaf6326964be4.tar
rpmdrake-3e727ce1e3a49fd0149625d77fabaf6326964be4.tar.gz
rpmdrake-3e727ce1e3a49fd0149625d77fabaf6326964be4.tar.bz2
rpmdrake-3e727ce1e3a49fd0149625d77fabaf6326964be4.tar.xz
rpmdrake-3e727ce1e3a49fd0149625d77fabaf6326964be4.zip
add a "mode" combo box, thus restoring flat mode (#25770) and allowing again to
sort packages by size (#25417)
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index ffe4fe04..9f57701e 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -847,7 +847,7 @@ or you already installed all of them."));
by_medium => sub { sort { $a->[2] <=> $b->[2] || uc($a->[0]) cmp uc($b->[0]) } @_ },
);
if ($flat) {
- add_node($_->[0], '') foreach $sortmethods{$mode || 'flat'}->(@elems);
+ add_node($_->[0], '') foreach $sortmethods{$::mode->[0] || 'flat'}->(@elems);
} else {
if (0 && $MODE eq 'update') {
add_node($_->[0], N("All")) foreach $sortmethods{flat}->(@elems);