diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-20 11:05:20 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-20 11:05:20 +0000 |
commit | 636107c3857a2be8a60e5936cbbde41ceca4ef75 (patch) | |
tree | ecd4c75d4c1f89038eceae3887a213bf0fb0e910 /perl-install/interactive | |
parent | 32482d8439cb8a104d7b1728b437daf2c5ef9efa (diff) | |
download | drakx-backup-do-not-use-636107c3857a2be8a60e5936cbbde41ceca4ef75.tar drakx-backup-do-not-use-636107c3857a2be8a60e5936cbbde41ceca4ef75.tar.gz drakx-backup-do-not-use-636107c3857a2be8a60e5936cbbde41ceca4ef75.tar.bz2 drakx-backup-do-not-use-636107c3857a2be8a60e5936cbbde41ceca4ef75.tar.xz drakx-backup-do-not-use-636107c3857a2be8a60e5936cbbde41ceca4ef75.zip |
fix $ok_clicked when there is no ok button
Diffstat (limited to 'perl-install/interactive')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 89b4b8f3d..1473eda75 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -357,7 +357,7 @@ sub ask_fromW { my $total_size = 0; my $tooltips = Gtk2::Tooltips->new; my $ok_clicked = sub { - $mainw->{ok}->get_property('sensitive') or return; + !$mainw->{ok} || $mainw->{ok}->get_property('sensitive') or return; $mainw->{retval} = 1; Gtk2->main_quit; }; |