summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWanderlei Antonio Cavassin <cavassin@mandriva.com.br>2008-11-25 17:33:34 +0000
committerWanderlei Antonio Cavassin <cavassin@mandriva.com.br>2008-11-25 17:33:34 +0000
commit12369665f71d17d974bde17202978c737b19be26 (patch)
tree9336ae31eec2a30be56079c505fc1115c995c280
parent288129429f10679e7539a3dce98961ee0df5f2ec (diff)
downloaddrakx-backup-do-not-use-12369665f71d17d974bde17202978c737b19be26.tar
drakx-backup-do-not-use-12369665f71d17d974bde17202978c737b19be26.tar.gz
drakx-backup-do-not-use-12369665f71d17d974bde17202978c737b19be26.tar.bz2
drakx-backup-do-not-use-12369665f71d17d974bde17202978c737b19be26.tar.xz
drakx-backup-do-not-use-12369665f71d17d974bde17202978c737b19be26.zip
Honors $::Wizard_no_cancel when creating ok and cancel buttons.
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 2143650a9..47d657209 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -523,7 +523,7 @@ sub create_okcancel {
$bprev = $w->{cancel} = gtknew('Button', text => $cancel, clicked => $w->{cancel_clicked} ||
sub { log::l("default cancel_clicked"); undef $w->{retval}; Gtk2->main_quit });
}
- $w->{wizcancel} = gtknew('Button', text => N("Cancel"), clicked => sub { die 'wizcancel' }) if $::isWizard && !$::isInstall;
+ $w->{wizcancel} = gtknew('Button', text => N("Cancel"), clicked => sub { die 'wizcancel' }) if $::isWizard && !$::isInstall && !$::Wizard_no_cancel;;
if (!defined $wm_is_kde) {
require any;
my $wm = any::running_window_manager();