summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2000-09-12 23:37:53 +0000
committerdamien <damien@mandriva.com>2000-09-12 23:37:53 +0000
commitbffb022e14866052364fb547cefd6cd6be87b14c (patch)
tree5f34b488fd04b38fbd708aef1a2dfca6ebfdf827 /perl-install/my_gtk.pm
parentfcd7686cfbdc4534c97fa4c39700e95b9acbd8d6 (diff)
downloaddrakx-backup-do-not-use-bffb022e14866052364fb547cefd6cd6be87b14c.tar
drakx-backup-do-not-use-bffb022e14866052364fb547cefd6cd6be87b14c.tar.gz
drakx-backup-do-not-use-bffb022e14866052364fb547cefd6cd6be87b14c.tar.bz2
drakx-backup-do-not-use-bffb022e14866052364fb547cefd6cd6be87b14c.tar.xz
drakx-backup-do-not-use-bffb022e14866052364fb547cefd6cd6be87b14c.zip
updated
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 b8831f577..2d9c65a2a 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -239,7 +239,7 @@ sub create_okcancel {
$spread ||= $::isWizard ? "edge" : "spread";
$ok ||= $::isWizard ? _("Next ->") : _("Ok");
- my $b1 = gtksignal_connect($w->{ok} = new Gtk::Button($ok), "clicked" => $w->{ok_clicked} || sub { Gtk->main_quit });
+ my $b1 = gtksignal_connect($w->{ok} = new Gtk::Button($ok), "clicked" => $w->{ok_clicked} || sub { $w->{retval} = 1; Gtk->main_quit });
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);