aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-11-30 13:12:07 +0000
committerThierry Vignaud <tv@mandriva.org>2006-11-30 13:12:07 +0000
commitc0be2bd7e55ddd00dade7d29e32bf819d2838763 (patch)
tree7234c2e52a63c5f7906bcfea7ffe7a623f171e4e
parentdbec9669dc4259fc2efef329bfafdf17246e4f81 (diff)
downloadrpmdrake-c0be2bd7e55ddd00dade7d29e32bf819d2838763.tar
rpmdrake-c0be2bd7e55ddd00dade7d29e32bf819d2838763.tar.gz
rpmdrake-c0be2bd7e55ddd00dade7d29e32bf819d2838763.tar.bz2
rpmdrake-c0be2bd7e55ddd00dade7d29e32bf819d2838763.tar.xz
rpmdrake-c0be2bd7e55ddd00dade7d29e32bf819d2838763.zip
fix default mode in MandrivaUpdate: ensure we keep internaly the state untranslated
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 05f055d5..0a80e77e 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1206,7 +1206,7 @@ or you already installed all of them."));
my $val = $_[0]->get_text;
return if $val eq $old_value; # workarounding gtk+ sending us sometimes twice events
$old_value = $val;
- $default_list_mode = $val;
+ $default_list_mode = $rmodes{$val};
if ($wanted_categories{$rmodes{$val}} and my @cat = @{$wanted_categories{$rmodes{$val}}}) {
@{$mandrakeupdate_wanted_categories} = @cat;
}