summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/mouse.pm2
-rw-r--r--perl-install/my_gtk.pm4
2 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index fe154592b..b9c8a89c7 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -377,7 +377,7 @@ sub test_mouse_install {
my ($mouse) = @_;
require my_gtk;
my_gtk->import(qw(:wrappers :helpers));
- my $w = my_gtk->new;
+ my $w = my_gtk->new('', disallow_big_help => 1);
my ($width, $height, $offset) = (210, round_up(min(350, $::windowheight - 150), 6), 25);
my $darea = new Gtk::DrawingArea;
$darea->set_events([ 'button_press_mask', 'button_release_mask' ]); #$darea must be unrealized.
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) {