summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-12 21:33:34 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-12 21:33:34 +0000
commit32a2e8da9e14337df3c797a07ba16e1d232bb9ad (patch)
treed583389f8722f8833c419c1bd5b1e7bf8c18ea24 /perl-install/my_gtk.pm
parent4e7970e8c3429dfe2474a1c2caf9d0c5760be4d2 (diff)
downloaddrakx-32a2e8da9e14337df3c797a07ba16e1d232bb9ad.tar
drakx-32a2e8da9e14337df3c797a07ba16e1d232bb9ad.tar.gz
drakx-32a2e8da9e14337df3c797a07ba16e1d232bb9ad.tar.bz2
drakx-32a2e8da9e14337df3c797a07ba16e1d232bb9ad.tar.xz
drakx-32a2e8da9e14337df3c797a07ba16e1d232bb9ad.zip
no_comment
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 800777f7b..dad17459a 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -238,7 +238,7 @@ sub create_okcancel {
my $b2 = !$one && gtksignal_connect(new Gtk::Button($cancel || _("Cancel")), "clicked" => $w->{cancel_clicked} || sub { $w->{retval} = 0; Gtk->main_quit });
my @l = grep { $_ } $::isStandalone ? ($b2, $b1) : ($b1, $b2);
- $_->can_default(1) foreach @l;
+ $_->can_default($::isStandalone) foreach @l;
gtkadd(create_hbox($spread), @l);
}