summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/display_help
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/display_help')
-rwxr-xr-xperl-install/standalone/display_help4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/standalone/display_help b/perl-install/standalone/display_help
index db51ad09c..3894d04e3 100755
--- a/perl-install/standalone/display_help
+++ b/perl-install/standalone/display_help
@@ -27,6 +27,10 @@ use ugtk2 qw(:wrappers :create);
use Gtk2::WebKit;
my $view = gtknew('WebKit_View', no_popup_menu => 1);
+
+my $websettings = $view->get_settings;
+$websettings->set_property('allow-scripts-to-close-windows', 1);
+$view->set_settings($websettings);
$view->signal_connect('close-web-view', sub { ugtk2::exit(0) });
$view->open($ARGV[0]);