From f2303d52b00d8f0b4813902cd9fa72aab6a61264 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 12 Nov 2009 15:35:11 +0000 Subject: display_help: handle window.close() events (#55099) --- perl-install/NEWS | 1 + perl-install/standalone/display_help | 1 + 2 files changed, 2 insertions(+) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index a99f3563a..270811ab2 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -7,6 +7,7 @@ - kill draksplash - drakboot o rework UI layout to account for CONSOLE_LOGO support removal +- display_help: handle window.close() events (#55099) Version 12.77 - 30 October 2009 diff --git a/perl-install/standalone/display_help b/perl-install/standalone/display_help index b7e42168d..1d626d24d 100755 --- a/perl-install/standalone/display_help +++ b/perl-install/standalone/display_help @@ -27,6 +27,7 @@ use ugtk2 qw(:wrappers :create); use Gtk2::WebKit; my $view = gtknew('WebKit_View', no_popup_menu => 1); +$view->signal_connect('close-web-view', sub { ugtk2::exit(0) }); $view->open($ARGV[0]); -- cgit v1.2.1