summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-11-12 15:35:11 +0000
committerOlivier Blin <oblin@mandriva.com>2009-11-12 15:35:11 +0000
commitf2303d52b00d8f0b4813902cd9fa72aab6a61264 (patch)
tree6f646a84e3d9f39037bf7215c85ede1bcbeb6657
parent8a7d6cc196c0c9f522ff39b7ae030113bd1327a7 (diff)
downloaddrakx-f2303d52b00d8f0b4813902cd9fa72aab6a61264.tar
drakx-f2303d52b00d8f0b4813902cd9fa72aab6a61264.tar.gz
drakx-f2303d52b00d8f0b4813902cd9fa72aab6a61264.tar.bz2
drakx-f2303d52b00d8f0b4813902cd9fa72aab6a61264.tar.xz
drakx-f2303d52b00d8f0b4813902cd9fa72aab6a61264.zip
display_help: handle window.close() events (#55099)
-rw-r--r--perl-install/NEWS1
-rwxr-xr-xperl-install/standalone/display_help1
2 files changed, 2 insertions, 0 deletions
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]);