summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-09 00:48:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-09 00:48:42 +0000
commit3bf286dc972bd75f9ca02ae6b02bbe2279443829 (patch)
treec8fe338878704985485badc1c7b6a4a7522ef9bd
parent3ccabbe1682a659946715d15bb9e173780491f1d (diff)
downloaddrakx-3bf286dc972bd75f9ca02ae6b02bbe2279443829.tar
drakx-3bf286dc972bd75f9ca02ae6b02bbe2279443829.tar.gz
drakx-3bf286dc972bd75f9ca02ae6b02bbe2279443829.tar.bz2
drakx-3bf286dc972bd75f9ca02ae6b02bbe2279443829.tar.xz
drakx-3bf286dc972bd75f9ca02ae6b02bbe2279443829.zip
don't apply {format} twice
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 53813709e..08f6d028e 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -599,7 +599,7 @@ sub ask_fromW {
$set = sub {
my $s = may_apply($e->{format}, $_[0]);
if ($model) {
- $model->set($w->get_active_iter, 0 => may_apply($e->{format}, $s));
+ $model->set($w->get_active_iter, 0 => $s);
#$w->set_active($model->{indexes}{$s});
} else {
$w->set_text($s) if $s ne $w->get_text && $_[0] ne $w->get_text;