summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-29 17:54:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-29 17:54:17 +0000
commit55bafeda94d7a52a1a4984bbb6974d20715520f4 (patch)
treec52d533328663c8c8b27faac3a89b470c486aa47 /perl-install/my_gtk.pm
parentec0af4adedb519550959b0063d452142d9f6eb38 (diff)
downloaddrakx-55bafeda94d7a52a1a4984bbb6974d20715520f4.tar
drakx-55bafeda94d7a52a1a4984bbb6974d20715520f4.tar.gz
drakx-55bafeda94d7a52a1a4984bbb6974d20715520f4.tar.bz2
drakx-55bafeda94d7a52a1a4984bbb6974d20715520f4.tar.xz
drakx-55bafeda94d7a52a1a4984bbb6974d20715520f4.zip
disallow big_help (when pressing F1) when testing mouse
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 90433cc00..ad8c4ea9e 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -925,9 +925,9 @@ sub _create_window($$) {
0xffc9 => 'next',
0xffc8 => 'previous' }}{$_[1]{keyval}};
- if ($d eq "help") {
+ if ($d eq 'help') {
require install_gtk;
- install_gtk::create_big_help($::o);
+ install_gtk::create_big_help($::o) if !$o->{disallow_big_help};
} elsif ($::isInstall && $d eq 'screenshot') {
common::take_screenshot($o);
} elsif (chr($_[1]{keyval}) eq 'e' && $_[1]{state} & 8) {